Go to file
Jason Gerecke 5fc6200375 backends/native: Interpret tablet padding as being input-centric
It is possible to interpret the ammount of padding provided to the
*_set_tablet_area functions in two different and incompatible ways. The X11
backend effectively treats them as being input-centric (i.e., the padding
defines the size of the "dead zone" on the tablet) while the native backend
has an output-centric viewpoint (i.e., the padding defines the size of the
"dead zone" on the display) viewpoint. This difference in opinion causes the
cursor offset to change when switching between Xorg and a Wayland sessions.

The calibration utility within g-c-c does its calculations with an input-
centric viewpoint, so this patch modifies the native backend to work
correctly with these values. To change viewpoints, we can simply invert
the scale and negate the offset. It should be noted that this function
also forgot to apply scaling to the offsets (as required by the matrix
transform done by libinput) which would have further compounded the
cursor offset issue under Wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=784009
2017-06-20 23:44:13 +02:00
clutter cally: Fix compilation without X11 backend 2017-05-11 13:09:30 +02:00
cogl cogl: Use pixel_format_to_gl_with_target in find_best_gl_get_data_format 2017-05-19 11:13:31 +02:00
data Use Unicode in translatable strings 2017-02-16 02:44:16 +01:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update Catalan translation 2017-05-06 08:33:45 +02:00
src backends/native: Interpret tablet padding as being input-centric 2017-06-20 23:44:13 +02:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:12 +02:00
configure.ac Bump version to 3.24.2 2017-05-11 14:18:18 +02:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.24.2 2017-05-11 14:18:18 +02:00