summaryrefslogtreecommitdiff
path: root/src/core/screen.c
diff options
context:
space:
mode:
authorIllia Danko <[email protected]>2016-10-28 19:27:37 +0300
committerraveit65 <[email protected]>2017-01-17 20:22:29 +0100
commit238373df58d4ba275b7aead36f4d47971fbed18d (patch)
tree975bdff6ecfd6f57bb1755afc6f36544f9532596 /src/core/screen.c
parentfc8b044ed84265918f10674fc5a502bfada367bb (diff)
downloadmarco-238373df58d4ba275b7aead36f4d47971fbed18d.tar.bz2
marco-238373df58d4ba275b7aead36f4d47971fbed18d.tar.xz
Added functionality to ignore applications while show-desktop is triggered
Diffstat (limited to 'src/core/screen.c')
-rw-r--r--src/core/screen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/screen.c b/src/core/screen.c
index 34016d51..98ecf4db 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -2447,7 +2447,7 @@ queue_windows_showing (MetaScreen *screen)
{
MetaWindow *w = tmp->data;
- if (w->screen == screen)
+ if (w->screen == screen && !meta_prefs_is_in_skip_list (w->res_class))
meta_window_queue (w, META_QUEUE_CALC_SHOWING);
tmp = tmp->next;
@@ -2501,7 +2501,8 @@ meta_screen_show_desktop (MetaScreen *screen,
MetaWindow *w = windows->data;
if (w->screen == screen &&
- w->type == META_WINDOW_DESKTOP)
+ w->type == META_WINDOW_DESKTOP &&
+ !meta_prefs_is_in_skip_list (w->res_class))
{
meta_window_focus (w, timestamp);
break;