Summary Files Commits Branches @commit @diff @stats
path: root / config.h
diff options
context:
space:
mode:
Commita5da22c81a448b4f66eaed1952cff8db2b609bc3 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-03-20 16:01:22 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-03-20 16:01:22 +0100
Files0266d79b84e71dfa3b12851c9f76b9bbcd52738c /config.h
goodwolf-a5da22c81a448b4f66eaed1952cff8db2b609bc3.tar
goodwolf-a5da22c81a448b4f66eaed1952cff8db2b609bc3.tar.gz
goodwolf-a5da22c81a448b4f66eaed1952cff8db2b609bc3.zip
Parent565482a6df05e2955ef1dbda293ad3ada7e3b639 (diff)
Make the default window size configurable
1 files changed, 10 insertions, 0 deletions
-rw-r--r--config.h10
diff --git a/config.h b/config.h
index f4a8a59..3bb3596 100644
--- a/config.h
+++ b/config.h
@@ -26,3 +26,13 @@
// BADWOLF_TOOLBAR_PADDING: Amount of padding between toolbar elements
#define BADWOLF_TOOLBAR_PADDING 0
+
+/*
+ * BADWOLF_DEFAULT_WIDTH / BADWOLF_DEFAULT_HEIGHT:
+ * Used to define the default width/height of the window,
+ * useful for floating Window Managers, probably useless in tiling ones
+ *
+ * See https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-default-size
+ */
+#define BADWOLF_DEFAULT_WIDTH 800
+#define BADWOLF_DEFAULT_HEIGHT 600