summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMihai Moldovan <[email protected]>2023-07-28 20:27:28 +0200
committerColomban Wendling <[email protected]>2023-10-24 10:58:14 +0200
commitfdfc8bdd01242a38d87684b9c5e80e06edd2adad (patch)
tree068ec4b8361df7fff819638016b0b8fec8a71e47 /src/core
parenta67e582bc96aac4a779b0fe28e7a005ca166bd03 (diff)
downloadmarco-fdfc8bdd01242a38d87684b9c5e80e06edd2adad.tar.bz2
marco-fdfc8bdd01242a38d87684b9c5e80e06edd2adad.tar.xz
ui/tabpopup: likewise only enable compositing code if available.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/screen.c b/src/core/screen.c
index c5962cb2..e4b686ef 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -1406,6 +1406,7 @@ meta_screen_ensure_tab_popup (MetaScreen *screen,
}
screen->tab_popup = meta_ui_tab_popup_new (entries,
+ screen,
len,
meta_prefs_get_alt_tab_max_columns(),
meta_prefs_get_alt_tab_expand_to_fit_title(),
@@ -1485,6 +1486,7 @@ meta_screen_ensure_workspace_popup (MetaScreen *screen)
}
screen->tab_popup = meta_ui_tab_popup_new (entries,
+ screen,
len,
layout.cols,
FALSE, /* expand_for_titles */