mutter/src/wayland
Jasper St. Pierre 48dfde2073 keyboard/pointer: Calculate the serial once per event
Some applications, like totem, create keyboard/pointer objects from the
same client, and expect it to work. We made this work a while ago, but
due to an oversight in the code, we increment the serial on button press
for every resource that we need to send events to.

Since operations like move/resize use the grab serial of the devices to
determine whether the operation is exact, we need to make sure the same
serial goes to all devices.

Restructure the code so that all that's in the resource loop is the
sending of the event -- all the calculation that's needed happens
outside.

This fixes moving / resizing the Totem window not working sometimes.

https://bugzilla.gnome.org/show_bug.cgi?id=736840
2014-09-18 09:15:13 -06:00
..
protocol xdg-shell: Bump unstable version 2014-08-22 12:07:56 -04:00
meta-wayland-data-device.c wayland: Simplify global version management 2014-08-04 10:25:23 -04:00
meta-wayland-data-device.h data-device: Put the DataDevice implementation in its own struct 2014-07-10 13:30:05 -04:00
meta-wayland-keyboard.c keyboard/pointer: Calculate the serial once per event 2014-09-18 09:15:13 -06:00
meta-wayland-keyboard.h wayland-keyboard: Use the backend's keymap 2014-08-07 11:24:24 +02:00
meta-wayland-outputs.c wayland: Use the send event wrappers 2014-08-05 16:12:29 -04:00
meta-wayland-outputs.h wayland: Split outputs to another file 2014-04-22 18:25:34 -04:00
meta-wayland-pointer.c keyboard/pointer: Calculate the serial once per event 2014-09-18 09:15:13 -06:00
meta-wayland-pointer.h wayland: Move checks for grabbing into a central location 2014-05-22 10:58:07 -04:00
meta-wayland-private.h wayland: Use wl_display_add_socket_auto 2014-08-05 16:12:29 -04:00
meta-wayland-seat.c wayland: Simplify global version management 2014-08-04 10:25:23 -04:00
meta-wayland-seat.h wayland: Handle window drags for touch events 2014-07-24 18:05:56 +02:00
meta-wayland-surface.c wayland: Don't leak the existing texture if we already have one 2014-09-16 12:12:21 -06:00
meta-wayland-surface.h wayland: Tie XDG surfaces together with the Shell that created them 2014-08-22 12:52:21 -04:00
meta-wayland-touch.c configure: Conditionalize libinput and gbm too 2014-08-27 09:57:43 -04:00
meta-wayland-touch.h wayland: Handle window drags for touch events 2014-07-24 18:05:56 +02:00
meta-wayland-types.h wayland-surface: Don't do pending move/resizes on all commits 2014-07-27 18:09:12 +02:00
meta-wayland-versions.h wayland: Simplify slave version management 2014-08-04 10:25:20 -04:00
meta-wayland.c Add meta_wayland_get_[x]wayland_display_name 2014-09-12 11:00:55 -04:00
meta-wayland.h Add meta_wayland_get_[x]wayland_display_name 2014-09-12 11:00:55 -04:00
meta-xwayland-private.h xwayland: Fix xwayland 2014-02-07 19:28:05 -05:00
meta-xwayland.c Cleanup xwayland/wayland window association from the "unmanage" signal 2014-09-16 10:59:45 -04:00
meta-xwayland.h xwayland: Switch to the new Xwayland DDX 2014-04-02 13:24:57 -04:00
window-wayland.c wayland: Fix the placement of popup windows 2014-09-17 17:42:37 +02:00
window-wayland.h wayland-surface: Don't do pending move/resizes on all commits 2014-07-27 18:09:12 +02:00