From 35fa7fd272c4bbab204afbc51edc1a9585592de7 Mon Sep 17 00:00:00 2001 From: Deve Date: Sat, 26 Sep 2015 20:32:55 +0200 Subject: [PATCH] Fixed a strange bug during changing window to fullscreen under Gnome --- lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp index e48ac2b1d..1c46dfc81 100644 --- a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp @@ -912,8 +912,7 @@ bool CIrrDeviceLinux::createWindow() // window is showed in wrong screen. It doesn't matter for vidmode // which displays cloned image in all devices. #ifdef _IRR_LINUX_X11_RANDR_ - XResizeWindow(display, window, Width, Height); - XMoveWindow(display, window, crtc_x, crtc_y); + XMoveResizeWindow(display, window, crtc_x, crtc_y, Width, Height); XRaiseWindow(display, window); XFlush(display); #endif