Fix building with Wayland

This commit is contained in:
Cacodemon345
2021-12-05 12:02:57 +06:00
committed by GitHub
parent a74afc3f1e
commit f2e6d79de4

View File

@@ -62,7 +62,7 @@ void RendererStack::mousePoll()
mousedata.deltax = mousedata.deltay = mousedata.deltaz = 0; mousedata.deltax = mousedata.deltay = mousedata.deltaz = 0;
mouse_buttons = mousedata.mousebuttons; mouse_buttons = mousedata.mousebuttons;
#ifdef WAYLAND #ifdef WAYLAND
if (wayland) if (QApplication::platformName().contains("wayland"))
wl_mouse_poll(); wl_mouse_poll();
#endif #endif
#endif #endif