From 189cc20cf4b1742c8c63b7534b3dc94f2b7da9f0 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 14 Oct 2019 13:33:15 -0400 Subject: tabpopup: Change schema value ranges Since we're rewriting how tab popups are created, we should change the gschema value ranges so that they are more compatible with the new version. --- src/include/common.h | 6 +++--- src/org.mate.marco.gschema.xml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/include/common.h b/src/include/common.h index 0dc2165e..a0690918 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -320,8 +320,8 @@ void meta_frame_borders_clear (MetaFrameBorders *self); /* should investigate changing these to whatever most apps use */ #define META_DEFAULT_ICON_SIZE 48 -#define META_MIN_ICON_SIZE 6 -#define META_MAX_ICON_SIZE 480 +#define META_MIN_ICON_SIZE 8 +#define META_MAX_ICON_SIZE 256 #define META_MINI_ICON_WIDTH 16 #define META_MINI_ICON_HEIGHT 16 @@ -349,7 +349,7 @@ typedef enum #define META_DEFAULT_ALT_TAB_MAX_COLUMNS 5 #define META_MIN_ALT_TAB_MAX_COLUMNS 1 -#define META_MAX_ALT_TAB_MAX_COLUMNS 1024 +#define META_MAX_ALT_TAB_MAX_COLUMNS 16 #define META_DEFAULT_ALT_TAB_EXPAND_TO_FIT_TITLE FALSE diff --git a/src/org.mate.marco.gschema.xml b/src/org.mate.marco.gschema.xml index 012109fe..bfa07994 100644 --- a/src/org.mate.marco.gschema.xml +++ b/src/org.mate.marco.gschema.xml @@ -154,7 +154,7 @@ false Fast Alt-Tab with compositing manager (disable thumbnails) - If set to true, no window thumbnails will be displayed in the alt-tab popup window when the compositing manager is enabled. Application icons will be displayed instead. + If set to true, no window thumbnails will be displayed in the alt-tab popup window when the compositing manager is enabled. Application icons will be displayed instead. Note that on high resolution screens with many visible windows there can be a perceptible lag in rendering. false @@ -197,13 +197,13 @@ Comma separated class list. Each running GUI application referenced to given windows manager class will be ignored by 'Show Desktop' functionality. - + 48 - Icon size + Icon size in alt-tab popup window Size of the application icons displayed in alt-tab popup window. The screen's scale factor is applied to this value. - + 5 Maximum number of columns in alt-tab popup window The popup window will be expanded to fit up to these many entries per row. -- cgit v1.2.1