diff options
author | osch <oliver at luced de> | 2019-05-14 09:40:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-07 14:26:10 +0200 |
commit | 604fa96f1026fbffd4dcf21a864076d068e6f56a (patch) | |
tree | 32e6d9aaeb24d5433759707dc3b9a26cc9c9d599 /src/core/screen.c | |
parent | 40301a79d866d1c8117872637d24bce5b2546c08 (diff) | |
download | marco-604fa96f1026fbffd4dcf21a864076d068e6f56a.tar.bz2 marco-604fa96f1026fbffd4dcf21a864076d068e6f56a.tar.xz |
Make alt+tab max columns configurable and consider window label width
Diffstat (limited to 'src/core/screen.c')
-rw-r--r-- | src/core/screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/screen.c b/src/core/screen.c index 8238d291..49e50506 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -1398,7 +1398,8 @@ meta_screen_ensure_tab_popup (MetaScreen *screen, screen->tab_popup = meta_ui_tab_popup_new (entries, len, - 5, /* FIXME */ + meta_prefs_get_alt_tab_max_columns(), + meta_prefs_get_alt_tab_expand_to_fit_title(), border); for (i = 0; i < len; i++) @@ -1470,6 +1471,7 @@ meta_screen_ensure_workspace_popup (MetaScreen *screen) screen->tab_popup = meta_ui_tab_popup_new (entries, len, layout.cols, + FALSE, /* expand_for_titles */ BORDER_OUTLINE_WORKSPACE); g_free (entries); |