aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-04 15:00:18 -0400
committerDrew DeVault <sir@cmpwn.com>2018-10-04 15:00:18 -0400
commiteecebcafc69ac006a7ddc1a79cc5dc47cce287b6 (patch)
treeacaf9e875f592b5fa695cbcc60edafd577e1e160 /sway/input
parent0d5c2f75b58aecbfa539dcb345c64be4bfe184bf (diff)
downloadsway-eecebcafc69ac006a7ddc1a79cc5dc47cce287b6.tar.xz
Fix #2763
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index a74229f5..5fc8a806 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -136,7 +136,7 @@ static bool keyboard_execute_compositor_binding(struct sway_keyboard *keyboard,
keysym <= XKB_KEY_XF86Switch_VT_12) {
if (wlr_backend_is_multi(server.backend)) {
struct wlr_session *session =
- wlr_multi_get_session(server.backend);
+ wlr_backend_get_session(server.backend);
if (session) {
unsigned vt = keysym - XKB_KEY_XF86Switch_VT_1 + 1;
wlr_session_change_vt(session, vt);