openbsd-ports/x11/skippy/patches/patch-clientwin_c
2005-07-22 19:32:17 +00:00

22 lines
733 B
Plaintext

$OpenBSD: patch-clientwin_c,v 1.2 2005/07/22 19:32:17 fgsch Exp $
--- clientwin.c.orig Wed May 19 18:23:49 2004
+++ clientwin.c Wed Jul 13 16:43:40 2005
@@ -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 *
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);
}