summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-10 23:22:54 +0000
committerDana Jansens <danakj@orodu.net>2007-05-10 23:22:54 +0000
commit65d50861ada11f5409680de285f461f16e78c090 (patch)
tree0850867dcb8aff31daecfffff634abeb71e48570 /openbox/event.c
parent3537e50141f7bd38012e08b68b43d76a146e83dc (diff)
when un-showing the desktop if a window is getting shown, iconify the others so just the one is shown
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index bd3911e2..c529f156 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -660,7 +660,7 @@ static void event_handle_root(XEvent *e)
if (d > 0)
screen_set_num_desktops(d);
} else if (msgtype == prop_atoms.net_showing_desktop) {
- screen_show_desktop(e->xclient.data.l[0] != 0, TRUE);
+ screen_show_desktop(e->xclient.data.l[0] != 0, NULL);
} else if (msgtype == prop_atoms.openbox_control) {
if (e->xclient.data.l[0] == 1)
ob_reconfigure();