diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-05 02:48:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-05 02:48:39 +0000 |
| commit | fde5ca09e9ea7ab08b6dc06723f19bad6d03af22 (patch) | |
| tree | 58e8a107b0a60d7fb87a05afe8f72a451194afdf /openbox/event.c | |
| parent | 9389c7e6c80edc216173981a69eda525d6111547 (diff) | |
when restoring from show-desktop mode because a window is going to be focused, then don't restore focus how it was before showing the desktop.
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index efef0faa..badef3d9 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -604,7 +604,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); + screen_show_desktop(e->xclient.data.l[0] != 0, TRUE); } else if (msgtype == prop_atoms.ob_control) { if (e->xclient.data.l[0] == 1) ob_reconfigure(); |
