Only raise surface on click, not release

dev
Kristian Høgsberg 15 years ago
parent f5878facf3
commit ffbc607123
  1. 3
      wayland-system-compositor.c

@ -973,9 +973,8 @@ notify_button(struct wlsc_input_device *device,
surface = pick_surface(device, &sx, &sy); surface = pick_surface(device, &sx, &sy);
if (surface) { if (surface) {
wlsc_surface_raise(surface);
if (state) { if (state) {
wlsc_surface_raise(surface);
device->grab++; device->grab++;
device->grab_surface = surface; device->grab_surface = surface;
wlsc_input_device_set_keyboard_focus(device, wlsc_input_device_set_keyboard_focus(device,

Loading…
Cancel
Save