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.
This commit is contained in:
okan
2013-04-14 16:13:17 +00:00
parent f3dfc4968c
commit 16ed8bf8e4
3 changed files with 6 additions and 6 deletions

View File

@@ -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);