summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2012-09-14 11:51:46 +0800
committerRichard Grenville <pyxlcy@gmail.com>2012-09-14 11:51:46 +0800
commite370ec9b1ca1768ad9160703477d6ac5ec20fa80 (patch)
tree34cb3345070bf0c500c455a73cd482d667cfbc13 /compton.h
parent72a11771151f93b8b905e28601bdb79b4d181a04 (diff)
downloadtdebase-e370ec9b1ca1768ad9160703477d6ac5ec20fa80.tar.gz
tdebase-e370ec9b1ca1768ad9160703477d6ac5ec20fa80.zip
Bug fix: Issue #43, better client window lookup
More details on the issue report. - Look up the client window of a WM frame when it's mapped instead of when it's created, for better reliability. - Fix a warning when building.
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compton.h b/compton.h
index 2633a98ed..1cca657a5 100644
--- a/compton.h
+++ b/compton.h
@@ -392,9 +392,6 @@ border_size(Display *dpy, win *w);
static Window
find_client_win(Display *dpy, Window w);
-static Window
-find_client_win2(Display *dpy, Window w);
-
static void
get_frame_extents(Display *dpy, Window w,
unsigned int *left,
@@ -452,6 +449,9 @@ static void
calc_dim(Display *dpy, win *w);
static void
+mark_client_win(Display *dpy, win *w, Window client);
+
+static void
add_win(Display *dpy, Window id, Window prev, Bool override_redirect);
static void