Olivier Fourdan
b5e1f13681
dix: Add POINTER_RAWONLY flag
...
This add a new flag POINTER_RAWONLY for GetPointerEvents() which does
pretty much the opposite of POINTER_NORAW.
Basically, this tells GetPointerEvents() that we only want the
DeviceChanged events and any raw events for this motion but no actual
motion events.
This is preliminary work for Xwayland to be able to use relative motion
events for raw events. Xwayland would use absolute events for raw
events, but some X11 clients (wrongly) assume raw events to be always
relative.
To allow such clients to work with Xwayland, it needs to switch to
relative raw events (if those are available from the Wayland
compositor).
However, Xwayland cannot use relative motion events for actual pointer
location because that would cause a drift over time, the pointer being
actually controlled by the Wayland compositor.
So Xwayland needs to be able to send only relative raw events, hence
this API.
Bump the ABI_XINPUT_VERSION minor version to reflect that API addition.
v2: Actually avoid sending motion events (Peter)
v3: Keep sending raw emulated events with RAWONLY (Peter)
Suggested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Related: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1130
2021-02-15 09:42:00 +01:00
..
.gitignore
Fix spelling/wording issues
2020-07-05 13:07:33 -07:00
busfault.h
callback.h
client.h
closestr.h
closure.h
colormap.h
colormapst.h
cursor.h
cursorstr.h
dbus-core.h
displaymode.h
vidmode: move display mode definitions
2016-02-29 16:28:57 -05:00
dix-config-apple-verbatim.h
dix-config.h.in
xquartz: Remove check for libdispatch now that we don't support pre-SnowLeopard
2021-02-01 16:21:39 -08:00
dix.h
dix: Extract FreezeThisEventIfNeededForSyncGrab()
2020-11-25 04:20:22 +00:00
dixaccess.h
dixevents.h
dixfont.h
include: Stop including <X11/fonts/fontproto.h>
2018-10-25 12:32:48 -04:00
dixfontstr.h
dix: Switch to the libXfont2 API (v2)
2016-07-18 15:25:59 -04:00
dixgrabs.h
dixstruct.h
os: Define {ReadFdFrom,WriteFdTo}Client unconditionally
2018-03-08 14:12:36 -05:00
eventconvert.h
events.h
dga: #if XFreeXDGA → #ifdef XFreeXDGA
2018-02-19 13:14:43 -05:00
eventstr.h
dga: #if XFreeXDGA → #ifdef XFreeXDGA
2018-02-19 13:14:43 -05:00
exevents.h
extension.h
extinit.h
miinitext: Load GLX on the mi path
2018-02-14 17:04:48 -05:00
extnsionst.h
dix: Remove extension aliases
2017-06-20 16:37:24 -04:00
fourcc.h
Consolidate fourcc.h
2020-09-15 11:43:16 +02:00
gc.h
gcstruct.h
fb: Remove 24bpp support (v3)
2017-03-17 15:14:42 -04:00
globals.h
miinitext: General cleanup (v2)
2018-01-22 17:28:12 -05:00
glx_extinit.h
miinitext: Load GLX on the mi path
2018-02-14 17:04:48 -05:00
glxvndabi.h
Fix spelling/wording issues
2020-07-05 13:07:33 -07:00
hotplug.h
input.h
dix: Add POINTER_RAWONLY flag
2021-02-15 09:42:00 +01:00
inputstr.h
dix: Store replayed event into GrabInfoRec struct as InternalEvent*
2020-11-25 04:20:22 +00:00
inpututils.h
dix: Extract CopySprite() utility
2020-11-25 04:20:21 +00:00
list.h
Correct xorg_list_is_empty return value description
2018-02-12 08:09:53 +10:00
Makefile.am
Consolidate fourcc.h
2020-09-15 11:43:16 +02:00
meson.build
Consolidate fourcc.h
2020-09-15 11:43:16 +02:00
misc.h
include: Increase the number of max. input devices to 256.
2019-11-09 23:05:13 -05:00
miscstruct.h
nonsdk_extinit.h
opaque.h
dix: Remove -to option to set the default connection timeout
2019-10-30 16:17:04 +00:00
optionstr.h
os.h
os: Ensure sigset_t is provided when compiling for MinGW
2019-05-18 14:59:38 +00:00
pixmap.h
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
pixmapstr.h
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
privates.h
dix: Remove PRIVATE_DAMAGE
2017-03-21 11:20:26 -04:00
probes.h
dtrace: s/#if/#ifdef/ for XSERVER_DTRACE
2019-08-27 17:38:59 -04:00
property.h
dix: Add a callback chain for window property state change
2017-02-23 13:30:11 -05:00
propertyst.h
protocol-versions.h
present: Advertise protocol version 1.2
2018-03-19 15:44:46 -04:00
ptrveloc.h
region.h
regionstr.h
registry.h
resource.h
dix: Fix undefined shift in HashResourceID
2019-10-15 14:06:21 -04:00
rgb.h
screenint.h
dix: De-ugly the prototype for Add{GPU,}Screen
2018-10-30 12:21:41 -04:00
scrnintstr.h
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
selection.h
servermd.h
swaprep.h
swapreq.h
systemd-logind.h
validate.h
version-config.h.in
vidmodestr.h
vidmode: build without xf86vidmodeproto
2016-03-01 11:25:59 -05:00
window.h
dix: Add hybrid full-size/empty-clip mode to SetRootClip
2016-02-22 13:26:31 -05:00
windowstr.h
dix: Remove WindowRec::backStorage
2019-04-12 21:53:03 +00:00
XIstubs.h
xkb-config.h.in
xkbfile.h
xkbrules.h
xkbsrv.h
dix: Don't track the XKB client versions in the ClientRec
2017-10-24 15:53:28 -04:00
xkbstr.h
Fix spelling/wording issues
2020-07-05 13:07:33 -07:00
xorg-config.h.in
xorg: Remove the XF86PM define.
2018-08-02 10:27:37 -04:00
xorg-config.h.meson.in
xorg: Remove the XF86PM define.
2018-08-02 10:27:37 -04:00
xorg-server.h.in
xorg: Remove unused definitions from xorg-server.h.in
2018-03-28 09:54:17 -04:00
xorg-server.h.meson.in
meson: Generate xorg-server.h
2018-03-28 09:54:22 -04:00
Xprintf.h
xserver-properties.h
Xserver.d
dtrace: Move Xserver.d from dix/ to include/
2019-08-27 17:38:54 -04:00
xserver_poll.h
Fix typo in error message
2019-01-10 18:40:20 +02:00
xsha1.h
xwayland-config.h.in
xwayland: Add glamor egl_backend for EGLStreams
2018-04-24 16:51:18 -04:00
xwayland-config.h.meson.in
xwayland: Add glamor egl_backend for EGLStreams
2018-04-24 16:51:18 -04:00
xwin-config.h.in
xwin-config.h.meson.in
Add meson.build for XWin server (v2)
2017-06-02 09:32:35 -07:00