summaryrefslogtreecommitdiff
path: root/openbox/screen.h
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/screen.h
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/screen.h')
-rw-r--r--openbox/screen.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/openbox/screen.h b/openbox/screen.h
index a84170f8..a694f663 100644
--- a/openbox/screen.h
+++ b/openbox/screen.h
@@ -75,8 +75,12 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
void screen_desktop_popup(guint d, gboolean show);
/*! Shows and focuses the desktop and hides all the client windows, or
- returns to the normal state, showing client windows. */
-void screen_show_desktop(gboolean show, gboolean restore_focus);
+ returns to the normal state, showing client windows.
+ @param If show_only is non-NULL, then only that client is shown (assuming
+ show is FALSE (restoring from show-desktop mode), and the rest are
+ iconified.
+*/
+void screen_show_desktop(gboolean show, struct _ObClient *show_only);
/*! Updates the desktop layout from the root property if available */
void screen_update_layout();