From 80a4f6d0ab1a2bce927627ecde37be4e09752e0e Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Sat, 22 Sep 2012 20:49:17 +0800 Subject: 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(). --- compton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compton.h') 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, -- cgit v1.2.1