cursor: add missing maybeResetState() callsite
This function needs to be called whenever pending state is made current, which includes when views not tracked by the transaction system commit.
This commit is contained in:
@ -178,6 +178,11 @@ pub fn inputAllowed(self: Self, wlr_surface: *wlr.Surface) bool {
|
||||
true;
|
||||
}
|
||||
|
||||
pub fn maybeResetCursorState(self: Self) void {
|
||||
var it = self.seats.first;
|
||||
while (it) |node| : (it = node.next) node.data.cursor.maybeResetState();
|
||||
}
|
||||
|
||||
fn handleInhibitActivate(
|
||||
listener: *wl.Listener(*wlr.InputInhibitManager),
|
||||
input_inhibit_manager: *wlr.InputInhibitManager,
|
||||
|
Reference in New Issue
Block a user