diff options
author | okan <okan> | 2013-04-14 16:13:17 +0000 |
---|---|---|
committer | okan <okan> | 2013-04-14 16:13:17 +0000 |
commit | 16ed8bf8e4f561049b732b326f3d0ee475fe13f6 (patch) | |
tree | 69faebffc8e2511edbf4bdca1d32e2a78eeb1e9e /calmwm.h | |
parent | f3dfc4968cee2080cfa4a4f24f0977b962aa367d (diff) | |
download | cwm-16ed8bf8e4f561049b732b326f3d0ee475fe13f6.tar.gz cwm-16ed8bf8e4f561049b732b326f3d0ee475fe13f6.tar.xz cwm-16ed8bf8e4f561049b732b326f3d0ee475fe13f6.zip |
only a window is required to set WM_STATE. also un-confuse xu_ptr_getpos
by using 'win' instead of 'rootwin' so as not to imply only the root window is queried, rather any window.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index 86650ca..6f39aeb 100644 --- a/calmwm.h +++ b/calmwm.h @@ -466,7 +466,7 @@ void xu_configure(struct client_ctx *); void xu_getatoms(void); unsigned long xu_getcolor(struct screen_ctx *, char *); int xu_getprop(Window, Atom, Atom, long, u_char **); -int xu_getstate(struct client_ctx *, int *); +int xu_getstate(Window, int *); int xu_getstrprop(Window, Atom, char **); void xu_key_grab(Window, int, int); void xu_key_ungrab(Window, int, int); |