summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorosch <oliver at luced de>2019-04-15 00:07:46 +0200
committerlukefromdc <[email protected]>2019-04-23 18:35:39 +0000
commitb445ffd18323e2b256c2bf7dc3b079e44c475e8a (patch)
treebdcfd44ffbcd45d42b5334736b2365bb23a24a63 /src
parentea3dd08c34139afdc769bf1993a2a0d029f287a2 (diff)
downloadmarco-b445ffd18323e2b256c2bf7dc3b079e44c475e8a.tar.bz2
marco-b445ffd18323e2b256c2bf7dc3b079e44c475e8a.tar.xz
Limit icon size to 480
Diffstat (limited to 'src')
-rw-r--r--src/include/common.h2
-rw-r--r--src/org.mate.marco.gschema.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/common.h b/src/include/common.h
index 89e85a56..9468d1dd 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -303,7 +303,7 @@ struct _MetaButtonLayout
/* 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 1024
+#define META_MAX_ICON_SIZE 480
#define META_MINI_ICON_WIDTH 16
#define META_MINI_ICON_HEIGHT 16
diff --git a/src/org.mate.marco.gschema.xml b/src/org.mate.marco.gschema.xml
index a06c48da..98a91485 100644
--- a/src/org.mate.marco.gschema.xml
+++ b/src/org.mate.marco.gschema.xml
@@ -197,7 +197,7 @@
<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="1024"/>
+ <range min="6" max="480"/>
<default>48</default>
<summary>Icon size</summary>
<description>Size of the application icons displayed in alt-tab popup window. The screen's scale factor is applied to this value.</description>