diff options
author | okan | 2013-04-14 16:13:17 +0000 |
---|---|---|
committer | okan | 2013-04-14 16:13:17 +0000 |
commit | 75a771a90565abdcd59899872c239ad6c81ba800 (patch) | |
tree | 5f77b0738e8d147f2f1ba2fff7fc02830c82983c /calmwm.h | |
parent | 09cfe97666b497284d112091bf41cc40a4320270 (diff) | |
download | cwm-75a771a90565abdcd59899872c239ad6c81ba800.tar.gz |
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 '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.187 2013/04/12 14:46:30 okan Exp $ + * $OpenBSD: calmwm.h,v 1.188 2013/04/14 16:13:17 okan Exp $ */ #ifndef _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); |