Skip to content

Commit

Permalink
core: wayland: Remove references to wl.state (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne authored Nov 25, 2024
1 parent e4bc709 commit d099907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/linux/Wayland.zig
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ const pointer_listener = struct {

const mouse_button: Core.MouseButton = @enumFromInt(button - c.BTN_LEFT);
const pressed = state == c.WL_POINTER_BUTTON_STATE_PRESSED;
const x = wl.state.input_state.mouse_position.x;
const y = wl.state.input_state.mouse_position.y;
const x = wl.core.input_state.mouse_position.x;
const y = wl.core.input_state.mouse_position.y;

if (pressed) {
wl.core.pushEvent(Core.Event{ .mouse_press = .{
Expand Down

0 comments on commit d099907

Please sign in to comment.