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
|
|
@ -145,9 +145,6 @@ unmap(struct lab_layer_surface *layer)
|
|||
if (seat->focused_layer == layer->scene_layer_surface->layer_surface) {
|
||||
seat_set_focus_layer(seat, NULL);
|
||||
}
|
||||
if (seat->pressed.surface == layer->scene_layer_surface->layer_surface->surface) {
|
||||
seat_reset_pressed(seat);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue