summaryrefslogtreecommitdiff
path: root/src/key.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-12-23 18:24:23 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-12-23 18:25:55 -0800
commitd564d06b1ce89e90e1aacc5433b5eabd38270973 (patch)
tree18cac48f7687c9cbacf343baa6c9c047c81befd7 /src/key.c
parent3161db573424a554b536aaa492397341b84683ce (diff)
desktop: drop unused desktop names
At some point I wanted to support naming virtual desktops, but that never materialized and I don't find myself wishing it was there.
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