wl_backend: reset cursor to left_ptr on ungrab — same logic as dock/clip drags

This commit is contained in:
Ollie 2026-05-29 17:09:11 +02:00
parent 9ec08d9b6a
commit 26ea32a28b
1 changed files with 2 additions and 0 deletions

View File

@ -6317,6 +6317,8 @@ static void wl_pointer_ungrab(unsigned long timestamp)
if (wl_state.grab_type == 3) {
wl_state.grab_type = 0;
wl_state.grab_view = NULL;
/* Reset cursor to default arrow when WM policy grab ends. */
wl_set_cursor_image("left_ptr");
}
}