summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-18 11:04:45 +0200
committerPovilas Kanapickas <povilas@radix.lt>2021-09-06 21:19:46 +0000
commit7d34b1f2b7c612c3171e0b9758b5fc094bc33f63 (patch)
tree750607aee35cfa6fe7f09fec9de7bcd1d965d9d8 /include
parent7c63c582a17b206a33b57a70dd61e7919a6ef9fe (diff)
xwayland: add -noTouchPointerEmulation
In some scenarios, the Wayland compositor might have more knowledge than the X11 server and may be able to perform pointer emulation for touch events better. Add a command-line switch to allow compositors to turn Xwayland pointer emulation off. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'include')
-rw-r--r--include/dix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h
index 595b18bdd..22daa510f 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -147,6 +147,7 @@ extern _X_EXPORT ClientPtr serverClient;
extern _X_EXPORT int currentMaxClients;
extern _X_EXPORT char dispatchExceptionAtReset;
extern _X_EXPORT int terminateDelay;
+extern _X_EXPORT Bool touchEmulatePointer;
typedef int HWEventQueueType;
typedef HWEventQueueType *HWEventQueuePtr;