fix incorrect field

This commit is contained in:
Squibid 2025-10-19 21:29:43 -04:00
parent 008b9defce
commit 76b9d13798
Signed by: squibid
GPG key ID: BECE5684D3C4005D

View file

@ -81,7 +81,7 @@ fn handleButton(
_: *wl.Listener(*wlr.Pointer.event.Button), _: *wl.Listener(*wlr.Pointer.event.Button),
event: *wlr.Pointer.event.Button, event: *wlr.Pointer.event.Button,
) void { ) void {
_ = server.seat.pointerNotifyButton(event.time_msec, event.button, event.state); _ = server.seat.wlr_seat.pointerNotifyButton(event.time_msec, event.button, event.state);
if (server.root.viewAt(server.cursor.wlr_cursor.x, server.cursor.wlr_cursor.y)) |res| { if (server.root.viewAt(server.cursor.wlr_cursor.x, server.cursor.wlr_cursor.y)) |res| {
server.root.focusView(res.toplevel); server.root.focusView(res.toplevel);
} }