diff options
author | 2018-10-04 15:00:18 -0400 | |
---|---|---|
committer | 2018-10-04 15:00:18 -0400 | |
commit | eecebcafc69ac006a7ddc1a79cc5dc47cce287b6 (patch) | |
tree | acaf9e875f592b5fa695cbcc60edafd577e1e160 /sway/input | |
parent | Merge pull request #2760 from RyanDwyer/swaylock-handle-output-disconnect (diff) | |
download | sway-eecebcafc69ac006a7ddc1a79cc5dc47cce287b6.tar.gz sway-eecebcafc69ac006a7ddc1a79cc5dc47cce287b6.tar.zst sway-eecebcafc69ac006a7ddc1a79cc5dc47cce287b6.zip |
Fix #2763
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/keyboard.c | 2 |
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, | |||
136 | keysym <= XKB_KEY_XF86Switch_VT_12) { | 136 | keysym <= XKB_KEY_XF86Switch_VT_12) { |
137 | if (wlr_backend_is_multi(server.backend)) { | 137 | if (wlr_backend_is_multi(server.backend)) { |
138 | struct wlr_session *session = | 138 | struct wlr_session *session = |
139 | wlr_multi_get_session(server.backend); | 139 | wlr_backend_get_session(server.backend); |
140 | if (session) { | 140 | if (session) { |
141 | unsigned vt = keysym - XKB_KEY_XF86Switch_VT_1 + 1; | 141 | unsigned vt = keysym - XKB_KEY_XF86Switch_VT_1 + 1; |
142 | wlr_session_change_vt(session, vt); | 142 | wlr_session_change_vt(session, vt); |