mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-15 05:23:02 +00:00
[client] wayland: report that wayland has no warp support
This commit is contained in:
parent
701dfd5694
commit
bb37a880f0
1 changed files with 12 additions and 0 deletions
|
@ -377,6 +377,17 @@ static void waylandFree(void)
|
||||||
wl_registry_destroy(wm.registry);
|
wl_registry_destroy(wm.registry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool waylandGetProp(LG_DSProperty prop, void * ret)
|
||||||
|
{
|
||||||
|
if (prop == LG_DS_WARP_SUPPORT)
|
||||||
|
{
|
||||||
|
*(bool*)ret = false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
static bool waylandEventFilter(SDL_Event * event)
|
static bool waylandEventFilter(SDL_Event * event)
|
||||||
{
|
{
|
||||||
/* prevent the default processing for the following events */
|
/* prevent the default processing for the following events */
|
||||||
|
@ -738,6 +749,7 @@ struct LG_DisplayServerOps LGDS_Wayland =
|
||||||
.init = waylandInit,
|
.init = waylandInit,
|
||||||
.startup = waylandStartup,
|
.startup = waylandStartup,
|
||||||
.free = waylandFree,
|
.free = waylandFree,
|
||||||
|
.getProp = waylandGetProp,
|
||||||
.eventFilter = waylandEventFilter,
|
.eventFilter = waylandEventFilter,
|
||||||
.grabPointer = waylandGrabPointer,
|
.grabPointer = waylandGrabPointer,
|
||||||
.ungrabPointer = waylandUngrabPointer,
|
.ungrabPointer = waylandUngrabPointer,
|
||||||
|
|
Loading…
Reference in a new issue