mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
cursor: Fix out-of-surface movement for unmanaged surfaces
This commit is contained in:
parent
f7b1bc1de8
commit
7c6c018f43
6 changed files with 57 additions and 36 deletions
|
|
@ -813,8 +813,7 @@ view_destroy(struct view *view)
|
|||
|
||||
if (server->seat.pressed.view == view) {
|
||||
/* Mouse was pressed on surface and is still pressed */
|
||||
server->seat.pressed.view = NULL;
|
||||
server->seat.pressed.surface = NULL;
|
||||
seat_reset_pressed(&server->seat);
|
||||
}
|
||||
|
||||
if (server->focused_view == view) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue