openbsd-ports/x11/skippy/patches/patch-clientwin_c
jasper 33fab1df56 - some minor cleanups:
* re-order WANTLIB
* re-format DESCR
* regen patches and PLIST
* use SUBST_CMD
2009-01-03 23:02:57 +00:00

22 lines
739 B
Plaintext

$OpenBSD: patch-clientwin_c,v 1.3 2009/01/03 23:02:57 jasper Exp $
--- clientwin.c.orig Wed May 19 23:23:49 2004
+++ clientwin.c Sat Jan 3 23:56:52 2009
@@ -33,7 +33,7 @@ int
clientwin_validate_func(dlist *l, void *data)
{
ClientWin *cw = (ClientWin *)l->data;
- CARD32 desktop = (*(CARD32*)data),
+ unsigned long desktop = (*(unsigned long*)data),
w_desktop = wm_get_window_desktop(cw->mainwin->dpy, cw->client.window);
#ifdef XINERAMA
@@ -43,7 +43,7 @@ clientwin_validate_func(dlist *l, void *data)
return 0;
#endif
- return (w_desktop == (CARD32)-1 || desktop == w_desktop) &&
+ return (w_desktop == (unsigned long)-1 || desktop == w_desktop) &&
wm_validate_window(cw->mainwin->dpy, cw->client.window);
}