summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2012-09-22 20:49:17 +0800
committerRichard Grenville <[email protected]>2012-09-22 20:59:26 +0800
commit80a4f6d0ab1a2bce927627ecde37be4e09752e0e (patch)
tree5fda405c79fb178230ec6fc313cabd141a762cc0 /compton.h
parentcbdaa9c000fada417cabf2092751945cbafc6ec0 (diff)
downloadtdebase-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compton.h b/compton.h
index a46213569..c57dd2fd2 100644
--- a/compton.h
+++ b/compton.h
@@ -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,