Add missing ifdef
This commit is contained in:
parent
6060e57d43
commit
f69b1e7cf7
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user