mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
seat: Listen for destroy signal of pressed.surface
This commit is contained in:
parent
c8ddb0143c
commit
b8c3fdaef9
6 changed files with 35 additions and 17 deletions
|
|
@ -101,9 +101,6 @@ unmanaged_handle_unmap(struct wl_listener *listener, void *data)
|
|||
* Mark the node as gone so a racing configure event
|
||||
* won't try to reposition the node while unmapped.
|
||||
*/
|
||||
if (unmanaged->node && seat->pressed.node == unmanaged->node) {
|
||||
seat_reset_pressed(seat);
|
||||
}
|
||||
unmanaged->node = NULL;
|
||||
cursor_update_focus(unmanaged->server);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue