diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-10-02 19:45:06 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-10-15 10:40:57 +0200 |
commit | 858462415a4ee3029f798dec47ab279b006bdd1b (patch) | |
tree | 59c73f0221ebfc74f586a3ef4fc16cbbf8e75f67 | |
parent | 5f9a668f25b6363e4e07c3fb271fd5f3df2578a7 (diff) |
config: Only default-enable window mode if built
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r-- | config/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/config.c b/config/config.c index 67342346..501ea008 100644 --- a/config/config.c +++ b/config/config.c @@ -35,7 +35,11 @@ Settings config = { /** List of enabled modi. */ /** -modi */ +#ifdef WINDOW_MODE .modi = "window,run,ssh", +#else + .modi = "run,ssh", +#endif /** Border width around the window. */ .menu_bw = 1, /** The width of the switcher. (0100 in % > 100 in pixels) */ |