aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index f2bcf84..5b5a0af 100644
--- a/xevents.c
+++ b/xevents.c
@@ -410,7 +410,7 @@ xev_handle_clientmessage(XEvent *ee)
* is 0xFFFFFFFF (-1) then the window should appear
* on all desktops, in our case, group 0.
*/
- if (e->data.l[0] == (unsigned long)-1)
+ if (e->data.l[0] == 0xFFFFFFFF)
group_movetogroup(cc, 0);
else
if (e->data.l[0] >= 0 &&