diff options
author | Richard Grenville <[email protected]> | 2012-09-14 11:51:46 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2012-09-14 11:51:46 +0800 |
commit | e370ec9b1ca1768ad9160703477d6ac5ec20fa80 (patch) | |
tree | 34cb3345070bf0c500c455a73cd482d667cfbc13 /compton.h | |
parent | 72a11771151f93b8b905e28601bdb79b4d181a04 (diff) | |
download | tdebase-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |