GNOME Bugzilla – Bug 784402
Use clutter API to handle mapping mode on x11 tablets
Last modified: 2017-07-12 21:53:06 UTC
Just a low hanging improvement I found during the last round of wacom patches, x11 could be more consistent with wayland here, I'm attaching a couple of patches to do that.
Created attachment 354750 [details] [review] clutter: Extend mapping-mode to pen/eraser devices This just used to apply to CLUTTER_TABLET_DEVICE on wayland, allow using it on pen/eraser devices (as X11 sees tablets) for consistency.
Created attachment 354751 [details] [review] backend: Set mapping-mode on X11 pen/eraser devices And use it in the generic code for the checks about whether mapping to an specific display applies or not.
Review of attachment 354750 [details] [review]: ok
Review of attachment 354751 [details] [review]: seems fine
Pushed, thanks! Would be nice to move all the configuration stuff to either clutter/clutter or src/backends, someday... :). Attachment 354750 [details] pushed as 328e3f8 - clutter: Extend mapping-mode to pen/eraser devices Attachment 354751 [details] pushed as 10b30ea - backend: Set mapping-mode on X11 pen/eraser devices