mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
forward click events to layer surfaces
this was broken when we moved to swallowing mouse events that triggered "Frame"-context mouse bindings. layer surfaces don't run mouse binding logic, so they need mouse events unconditionally forwarded.
This commit is contained in:
parent
a94fb3b225
commit
54e99cd240
1 changed files with 2 additions and 0 deletions
|
|
@ -574,6 +574,8 @@ cursor_button(struct wl_listener *listener, void *data)
|
|||
if (layer->current.keyboard_interactive) {
|
||||
seat_set_focus_layer(&server->seat, layer);
|
||||
}
|
||||
wlr_seat_pointer_notify_button(seat->seat, event->time_msec,
|
||||
event->button, event->state);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue