summaryrefslogtreecommitdiff
path: root/src/include/common.h
diff options
context:
space:
mode:
authorosch <oliver at luced de>2019-04-14 19:29:48 +0200
committerlukefromdc <[email protected]>2019-04-23 18:35:39 +0000
commit6d7a203c0c920f14a647d8ce5cce36d45a31c8c8 (patch)
treeaf198ba698cb4c35c95d3ce2144b96ae02c0304e /src/include/common.h
parentcd29bd6650923ab46b24eecc4681298c081dbf1e (diff)
downloadmarco-6d7a203c0c920f14a647d8ce5cce36d45a31c8c8.tar.bz2
marco-6d7a203c0c920f14a647d8ce5cce36d45a31c8c8.tar.xz
Limit icon size to 1024
Diffstat (limited to 'src/include/common.h')
-rw-r--r--src/include/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h
index 1fe3aae1..89e85a56 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -302,6 +302,9 @@ 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_MINI_ICON_WIDTH 16
#define META_MINI_ICON_HEIGHT 16