cursor: Store view + resize edges for move/resize in press event

v2: Restore previous behavior for keybinds
This commit is contained in:
John Lindgren 2022-09-14 23:09:36 -04:00 committed by Consolatis
parent 429c388333
commit 1fafb89cba
5 changed files with 60 additions and 29 deletions

View file

@ -820,6 +820,10 @@ view_destroy(struct view *view)
need_cursor_update = true;
}
if (server->seat.pressed.view == view) {
seat_reset_pressed(&server->seat);
}
osd_on_view_destroy(view);
if (view->scene_tree) {