summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-11 22:16:42 +0000
committerDana Jansens <danakj@orodu.net>2007-03-11 22:16:42 +0000
commite2b3a32aedcca0fae92433b249186d8360ca5753 (patch)
treed2a7ea8b9aa72e871bbcb39364284906ec34e79c /openbox/screen.c
parentcbfa27759de455ddbfef3c2206c2c56cabf67c97 (diff)
We were grabbing SubstructureNotifyMask on the root window. I don't know why.. It meant that we got unmap notifies for windows we weren't even managing and stuff. It ended up breaking VLC when it mapped-unmapped-mapped a window. We grab StructureNotify for all the clients, so I am not sure why this was ever there.
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 3542dfdc..053757f7 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -2,7 +2,7 @@
screen.c for the Openbox window manager
Copyright (c) 2006 Mikael Magnusson
- Copyright (c) 2003 Ben Jansens
+ Copyright (c) 2003-2007 Dana Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -45,7 +45,7 @@
/*! The event mask to grab on the root window */
#define ROOT_EVENTMASK (StructureNotifyMask | PropertyChangeMask | \
EnterWindowMask | LeaveWindowMask | \
- SubstructureNotifyMask | SubstructureRedirectMask | \
+ SubstructureRedirectMask | \
ButtonPressMask | ButtonReleaseMask | ButtonMotionMask)
guint screen_num_desktops;