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);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
/* prevent the default processing for the following events */
|
||||
|
@ -738,6 +749,7 @@ struct LG_DisplayServerOps LGDS_Wayland =
|
|||
.init = waylandInit,
|
||||
.startup = waylandStartup,
|
||||
.free = waylandFree,
|
||||
.getProp = waylandGetProp,
|
||||
.eventFilter = waylandEventFilter,
|
||||
.grabPointer = waylandGrabPointer,
|
||||
.ungrabPointer = waylandUngrabPointer,
|
||||
|
|
Loading…
Reference in a new issue