Skip to content

Commit

Permalink
Push up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-holmes committed Nov 7, 2024
1 parent cc6ea87 commit b59a86f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/linux/Wayland.zig
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ pub fn init(
};
wl.xkb_context = wl.libxkbcommon.xkb_context_new(0) orelse return error.FailedToGetXkbContext;
const registry = c.wl_display_get_registry(wl.display) orelse return error.FailedToGetDisplayRegistry;
std.debug.print("wl.state inside init() {*}", .{wl.state});

// TODO: handle error return value here
_ = c.wl_registry_add_listener(registry, &registry_listener.listener, &wl);
Expand Down Expand Up @@ -457,6 +458,7 @@ const keyboard_listener = struct {
_ = surface;
_ = keys;

std.debug.print("wl.state inside keyboardHandleEnter() {*}", .{wl.state});
wl.state.pushEvent(.focus_gained);
}

Expand Down

0 comments on commit b59a86f

Please sign in to comment.