aboutsummaryrefslogtreecommitdiff
path: root/src/keyboard.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-09 12:54:38 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-09 12:54:38 +0200
commitbf17b5404846d54d70fe63eb013cf20bf0a4b448 (patch)
tree180b3dc34c05e4eeebb29e124f870e33778580b7 /src/keyboard.zig
parent6c23f3eefd84c2748f5e83f8a84f0996c6a10578 (diff)
downloadriver-bf17b5404846d54d70fe63eb013cf20bf0a4b448.tar.gz
river-bf17b5404846d54d70fe63eb013cf20bf0a4b448.tar.xz
Go back to using std.ChildProcess
The bug with this was fixed by https://github.com/ziglang/zig/pull/4970.
Diffstat (limited to 'src/keyboard.zig')
-rw-r--r--src/keyboard.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.zig b/src/keyboard.zig
index 83bc745..af2786f 100644
--- a/src/keyboard.zig
+++ b/src/keyboard.zig
@@ -17,7 +17,7 @@ pub const Keyboard = struct {
pub fn init(self: *Self, seat: *Seat, device: *c.wlr_input_device) !void {
self.seat = seat;
self.device = device;
- self.wlr_keyboard = device.unnamed_136.keyboard;
+ self.wlr_keyboard = device.unnamed_133.keyboard;
// We need to prepare an XKB keymap and assign it to the keyboard. This
// assumes the defaults (e.g. layout = "us").
@@ -78,7 +78,7 @@ pub const Keyboard = struct {
@alignCast(@alignOf(*c.wlr_event_keyboard_key), data),
);
- const wlr_keyboard: *c.wlr_keyboard = keyboard.device.unnamed_136.keyboard;
+ const wlr_keyboard: *c.wlr_keyboard = keyboard.device.unnamed_133.keyboard;
// Translate libinput keycode -> xkbcommon
const keycode = event.keycode + 8;