diff options
| author | Dana Jansens <danakj@orodu.net> | 2013-09-08 13:39:59 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2013-09-09 10:47:43 -0400 |
| commit | 7b408bc3b8f5166a3c725459e0ae7fd93ec8aacb (patch) | |
| tree | 1dcfddd23141a043a049b05b7027555ab12ee6b3 /openbox/client.c | |
| parent | adcb7a78d9e58c2670b0b046f418a39ec52afb5e (diff) | |
Add a strict option to the ToggleShowDesktop action
When the strict option is used, normal windows are not able to show themselves
while showing the desktop.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index 5e6569e0..3ff278ae 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2734,7 +2734,7 @@ gboolean client_should_show(ObClient *self) { if (self->iconic) return FALSE; - if (client_normal(self) && screen_showing_desktop) + if (client_normal(self) && screen_showing_desktop()) return FALSE; if (self->desktop == screen_desktop || self->desktop == DESKTOP_ALL) return TRUE; @@ -4080,7 +4080,7 @@ gboolean client_focus(ObClient *self) static void client_present(ObClient *self, gboolean here, gboolean raise, gboolean unshade) { - if (client_normal(self) && screen_showing_desktop) + if (client_normal(self) && screen_showing_desktop()) screen_show_desktop(FALSE, self); if (self->iconic) client_iconify(self, FALSE, here, FALSE); |
