diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-12 22:19:48 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-12 22:19:48 +0200 |
| commit | 0f52f664f22c81e3971cfbf62d0f2f6da90c98f1 (patch) | |
| tree | c17fae327f85713197803517be79470daba2da3e /src/keyboard.zig | |
| parent | d92c7a5a7125602951849800b0054681e3ea6631 (diff) | |
| download | river-0f52f664f22c81e3971cfbf62d0f2f6da90c98f1.tar.gz river-0f52f664f22c81e3971cfbf62d0f2f6da90c98f1.tar.xz | |
Introduce InputManager for eventual multi-seat
Diffstat (limited to 'src/keyboard.zig')
| -rw-r--r-- | src/keyboard.zig | 2 |
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; |
