aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 71e2d04..428a311 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -1007,6 +1007,7 @@ void setup(void) {
XSync(dis, False);
grabkeys();
+ if (DEFAULT_DESKTOP >= 0 && DEFAULT_DESKTOP < DESKTOPS) change_desktop(&(Arg){.i = DEFAULT_DESKTOP});
}
void sigchld(__attribute__((unused)) int sig) {