[client] wayland: add option to enable cursor warp

This is enabled on default. Specify wayland:warpSupport=no to disable it,
which may be useful on certain compositors that do not warp when the
pointer is confined.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-02-21 10:31:49 +11:00
1 parent 9b688909b0
commit 1ba1108099
6 files changed
+44

No files matched your search

+4
View File
@@ -84,6 +84,9 @@ typedef struct LG_DSGLContext
struct LG_DisplayServerOps
{
/* called before options are parsed, useful for registering options */
void (*setup)(void);
/* return true if the selected ds is valid for the current platform */
bool (*probe)(void);
@@ -175,6 +178,7 @@ struct LG_DisplayServerOps
#endif
#define ASSERT_LG_DS_VALID(x) \
assert((x)->setup ); \
assert((x)->probe ); \
assert((x)->earlyInit ); \
assert((x)->init ); \