diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2013-04-14 16:13:18 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2013-04-14 16:13:18 +0000 |
commit | 1162e823618dc2f4faa3f10d0dadc6e5cf741f97 (patch) | |
tree | 156a37b01ed19ed4993bb564a4352c00c9389170 /app/cwm/calmwm.h | |
parent | fd966211d0808f21e2a14207100cee08ad90da25 (diff) |
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 'app/cwm/calmwm.h')
-rw-r--r-- | app/cwm/calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 3f3feed9e..ef1c25648 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -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); |