mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Only raise surface on click, not release
This commit is contained in:
parent
f5878facf3
commit
ffbc607123
1 changed files with 1 additions and 2 deletions
|
|
@ -973,9 +973,8 @@ notify_button(struct wlsc_input_device *device,
|
|||
|
||||
surface = pick_surface(device, &sx, &sy);
|
||||
if (surface) {
|
||||
wlsc_surface_raise(surface);
|
||||
|
||||
if (state) {
|
||||
wlsc_surface_raise(surface);
|
||||
device->grab++;
|
||||
device->grab_surface = surface;
|
||||
wlsc_input_device_set_keyboard_focus(device,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue