mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
parent
43db75f43c
commit
7a19184e5e
1 changed files with 6 additions and 0 deletions
|
|
@ -923,6 +923,12 @@ cursor_button_press(struct seat *seat, struct wlr_pointer_button_event *event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctx.type == LAB_SSD_ROOT && wlr_seat_pointer_has_grab(seat->seat)) {
|
||||||
|
/* Let a click on the desktop cancel an active popup grab */
|
||||||
|
wlr_seat_pointer_end_grab(seat->seat);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Bindings to the Frame context swallow mouse events if activated */
|
/* Bindings to the Frame context swallow mouse events if activated */
|
||||||
bool consumed_by_frame_context =
|
bool consumed_by_frame_context =
|
||||||
handle_press_mousebinding(server, &ctx, event->button, resize_edges);
|
handle_press_mousebinding(server, &ctx, event->button, resize_edges);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue