mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[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:
@@ -118,6 +118,10 @@ static void x11SetFullscreen(bool fs);
|
||||
static int x11EventThread(void * unused);
|
||||
static void x11GenericEvent(XGenericEventCookie *cookie);
|
||||
|
||||
static void x11Setup(void)
|
||||
{
|
||||
}
|
||||
|
||||
static bool x11Probe(void)
|
||||
{
|
||||
return getenv("DISPLAY") != NULL;
|
||||
@@ -1490,6 +1494,7 @@ static void x11CBRequest(LG_ClipboardData type)
|
||||
|
||||
struct LG_DisplayServerOps LGDS_X11 =
|
||||
{
|
||||
.setup = x11Setup,
|
||||
.probe = x11Probe,
|
||||
.earlyInit = x11EarlyInit,
|
||||
.init = x11Init,
|
||||
|
Reference in New Issue
Block a user