diff options
author | Victor Kareh <[email protected]> | 2019-10-14 13:33:15 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-10-27 13:42:15 -0400 |
commit | 189cc20cf4b1742c8c63b7534b3dc94f2b7da9f0 (patch) | |
tree | 95824ade2b7649a6d740c01ced0af0d1c4759c05 | |
parent | 6b05da5e49996a2101edfd703dd3f5d91011d726 (diff) | |
download | marco-189cc20cf4b1742c8c63b7534b3dc94f2b7da9f0.tar.bz2 marco-189cc20cf4b1742c8c63b7534b3dc94f2b7da9f0.tar.xz |
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.
-rw-r--r-- | src/include/common.h | 6 | ||||
-rw-r--r-- | src/org.mate.marco.gschema.xml | 8 |
2 files changed, 7 insertions, 7 deletions
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 @@ <key name="compositing-fast-alt-tab" type="b"> <default>false</default> <summary>Fast Alt-Tab with compositing manager (disable thumbnails)</summary> - <description>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.</description> + <description>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.</description> </key> <key name="reduced-resources" type="b"> <default>false</default> @@ -197,13 +197,13 @@ <description>Comma separated class list. Each running GUI application referenced to given windows manager class will be ignored by 'Show Desktop' functionality.</description> </key> <key name="icon-size" type="i"> - <range min="6" max="480"/> + <range min="8" max="256"/> <default>48</default> - <summary>Icon size</summary> + <summary>Icon size in alt-tab popup window</summary> <description>Size of the application icons displayed in alt-tab popup window. The screen's scale factor is applied to this value.</description> </key> <key name="alt-tab-max-columns" type="i"> - <range min="1" max="1024"/> + <range min="1" max="16"/> <default>5</default> <summary>Maximum number of columns in alt-tab popup window</summary> <description>The popup window will be expanded to fit up to these many entries per row.</description> |