Add missing ifdef

This commit is contained in:
Deve 2019-02-06 21:44:22 +01:00
parent 6060e57d43
commit f69b1e7cf7

View File

@ -674,10 +674,12 @@ void CIrrDeviceLinux::grabPointer(bool grab)
#endif
}
#ifdef _IRR_COMPILE_WITH_X11_
Bool CIrrDeviceLinux::isWindowMapped(Display* display, XEvent* event, XPointer arg)
{
return event->type == MapNotify && event->xmap.window == *((Window*)arg);
}
#endif
bool CIrrDeviceLinux::createWindow()
{