session-lock: fix pointer focus handling on map

This commit is contained in:
Isaac Freund
2023-11-17 19:48:32 +01:00
parent 68366c7331
commit 50ccd4c5b3
2 changed files with 27 additions and 9 deletions

View File

@ -111,7 +111,6 @@ fn handleLock(listener: *wl.Listener(*wlr.SessionLockV1), lock: *wlr.SessionLock
while (it) |node| : (it = node.next) {
const seat = &node.data;
seat.setFocusRaw(.none);
seat.cursor.updateState();
// Enter locked mode
seat.prev_mode_id = seat.mode_id;