From fde5ca09e9ea7ab08b6dc06723f19bad6d03af22 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 May 2007 02:48:39 +0000 Subject: 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. --- openbox/action.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index 1af396a4..b54e888e 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1932,17 +1932,17 @@ void action_toggle_dockautohide(union ActionData *data) void action_toggle_show_desktop(union ActionData *data) { - screen_show_desktop(!screen_showing_desktop); + screen_show_desktop(!screen_showing_desktop, TRUE); } void action_show_desktop(union ActionData *data) { - screen_show_desktop(TRUE); + screen_show_desktop(TRUE, TRUE); } void action_unshow_desktop(union ActionData *data) { - screen_show_desktop(FALSE); + screen_show_desktop(FALSE, TRUE); } void action_break_chroot(union ActionData *data) -- cgit v1.2.3