mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
48dfde2073
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 |
||
---|---|---|
.. | ||
protocol | ||
meta-wayland-data-device.c | ||
meta-wayland-data-device.h | ||
meta-wayland-keyboard.c | ||
meta-wayland-keyboard.h | ||
meta-wayland-outputs.c | ||
meta-wayland-outputs.h | ||
meta-wayland-pointer.c | ||
meta-wayland-pointer.h | ||
meta-wayland-private.h | ||
meta-wayland-seat.c | ||
meta-wayland-seat.h | ||
meta-wayland-surface.c | ||
meta-wayland-surface.h | ||
meta-wayland-touch.c | ||
meta-wayland-touch.h | ||
meta-wayland-types.h | ||
meta-wayland-versions.h | ||
meta-wayland.c | ||
meta-wayland.h | ||
meta-xwayland-private.h | ||
meta-xwayland.c | ||
meta-xwayland.h | ||
window-wayland.c | ||
window-wayland.h |