[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
2021-02-15 20:54:02 -05:00
committed by Geoffrey McRae
parent 9b688909b0
commit 1ba1108099
6 changed files with 44 additions and 0 deletions

View File

@@ -1032,6 +1032,9 @@ int main(int argc, char * argv[])
for(unsigned int i = 0; i < LG_RENDERER_COUNT; ++i)
LG_Renderers[i]->setup();
for(unsigned int i = 0; i < LG_DISPLAYSERVER_COUNT; ++i)
LG_DisplayServers[i]->setup();
if (!config_load(argc, argv))
return -1;