diff options
author | Richard Grenville <[email protected]> | 2012-09-22 20:49:17 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2012-09-22 20:59:26 +0800 |
commit | 80a4f6d0ab1a2bce927627ecde37be4e09752e0e (patch) | |
tree | 5fda405c79fb178230ec6fc313cabd141a762cc0 /compton.h | |
parent | cbdaa9c000fada417cabf2092751945cbafc6ec0 (diff) | |
download | tdebase-80a4f6d0ab1a2bce927627ecde37be4e09752e0e.tar.gz tdebase-80a4f6d0ab1a2bce927627ecde37be4e09752e0e.zip |
Improvement: Change window type detection
- Let window type detection start with the client window if there's one,
in hope to enhance performance.
- Change get_wintype_prop() to fetch the property only once.
- Default to WINTYPE_UNKNOWN instead of WINTYPE_NORMAL if
_NET_WM_WINDOW_TYPE is missing.
- Fix a mistake in calc_opacity().
- Add some items to .gitignore.
- Fix a typo in usage().
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -588,7 +588,7 @@ static wintype get_wintype_prop(Display * dpy, Window w); static wintype -determine_wintype(Display *dpy, Window w, Window top); +determine_wintype(Display *dpy, Window w); static void map_win(Display *dpy, Window id, |