summaryrefslogtreecommitdiff
path: root/src/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/key.c')
-rw-r--r--src/key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/key.c b/src/key.c
index 6456695..e1eee5d 100644
--- a/src/key.c
+++ b/src/key.c
@@ -204,10 +204,10 @@ void vwm_key_pressed(vwm_t *vwm, Window win, XKeyPressedEvent *keypress)
if (keypress->state & ShiftMask) {
if (vwin) {
/* migrate the focused window to a newly created virtual desktop, focusing the new desktop simultaneously */
- vwm_win_migrate(vwm, vwin, vwm_desktop_create(vwm, NULL));
+ vwm_win_migrate(vwm, vwin, vwm_desktop_create(vwm));
}
} else {
- vwm_desktop_focus(vwm, vwm_desktop_create(vwm, NULL));
+ vwm_desktop_focus(vwm, vwm_desktop_create(vwm));
vwm_desktop_mru(vwm, vwm->focused_desktop);
}
break;
© All Rights Reserved