aboutsummaryrefslogtreecommitdiff
path: root/src/keyboard.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-12 22:19:48 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-12 22:19:48 +0200
commit0f52f664f22c81e3971cfbf62d0f2f6da90c98f1 (patch)
treec17fae327f85713197803517be79470daba2da3e /src/keyboard.zig
parentd92c7a5a7125602951849800b0054681e3ea6631 (diff)
downloadriver-0f52f664f22c81e3971cfbf62d0f2f6da90c98f1.tar.gz
river-0f52f664f22c81e3971cfbf62d0f2f6da90c98f1.tar.xz
Introduce InputManager for eventual multi-seat
Diffstat (limited to 'src/keyboard.zig')
-rw-r--r--src/keyboard.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.zig b/src/keyboard.zig
index af2786f..7542a29 100644
--- a/src/keyboard.zig
+++ b/src/keyboard.zig
@@ -149,7 +149,7 @@ pub const Keyboard = struct {
fn handleBuiltinKeybind(self: Self, keysym: c.xkb_keysym_t) bool {
if (keysym >= c.XKB_KEY_XF86Switch_VT_1 and keysym <= c.XKB_KEY_XF86Switch_VT_12) {
Log.Debug.log("Switch VT keysym received", .{});
- const wlr_backend = self.seat.server.wlr_backend;
+ const wlr_backend = self.seat.input_manager.server.wlr_backend;
if (c.river_wlr_backend_is_multi(wlr_backend)) {
if (c.river_wlr_backend_get_session(wlr_backend)) |session| {
const vt = keysym - c.XKB_KEY_XF86Switch_VT_1 + 1;