mutter/src
Jonas Dreßler 3263084bcf backends/native: Translate right coords when creating motion events
With commit 7d78768809 we switched to
storing pointer coordinates in MetaInputDeviceNative instead of
ClutterInputDevice, and while we had set the coordinates of the
ClutterInputDevice in ClutterStage when queueing an event, we now set
the MetaInputDeviceNative coordinates in new_absolute_motion_event().

Here a small mistake snuck in: new_absolute_motion_event() only
translates the coordinates of the event, but we call
meta_input_device_native_set_coords() using the x and y variables
(which remain untranslated), so now the input device coordinates are no
longer translated.

Fix that by translating the coordinates of the x and y variables in case
we're we handling a tablet/stylus event instead of only translating the
event coordinates.

Fixes https://gitlab.gnome.org/GNOME/mutter/-/issues/1685

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1760>
2021-03-08 15:33:36 +00:00
..
backends backends/native: Translate right coords when creating motion events 2021-03-08 15:33:36 +00:00
compositor cogl: Make presentation time always MONOTONIC 2021-03-08 09:48:11 +00:00
core window: Don't stop irrelevant TOUCH_END events during window grab ops 2021-03-04 22:46:20 +00:00
meta background-content: Add support for rounded clipping when drawing 2021-02-18 20:26:42 +00:00
tests tests/clutter/timeline-interpolate: Use correct clock 2021-03-08 14:37:00 +00:00
ui frames: Consider events on fullscreen windows to be on the client area 2021-01-28 15:30:29 +00:00
wayland wayland: Send presentation feedbacks to cursors 2021-03-08 09:48:12 +00:00
x11 x11-display: Use unsetenv if old value was NULL 2021-02-27 09:16:49 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build wayland: Implement stub presentation-time 2021-03-08 09:48:11 +00:00
meta-private-enum-types.c.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml x11: Support the CTM (color transform matrix) RandR property 2021-01-11 13:44:54 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop/session: Add CapsLockState and NumLockState properties 2021-03-04 17:39:08 +00:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add 'is-recording' option to record methods 2020-07-31 10:41:15 +02:00