Fixed a strange bug during changing window to fullscreen under Gnome
This commit is contained in:
parent
870a5fad3e
commit
35fa7fd272
@ -912,8 +912,7 @@ bool CIrrDeviceLinux::createWindow()
|
|||||||
// window is showed in wrong screen. It doesn't matter for vidmode
|
// window is showed in wrong screen. It doesn't matter for vidmode
|
||||||
// which displays cloned image in all devices.
|
// which displays cloned image in all devices.
|
||||||
#ifdef _IRR_LINUX_X11_RANDR_
|
#ifdef _IRR_LINUX_X11_RANDR_
|
||||||
XResizeWindow(display, window, Width, Height);
|
XMoveResizeWindow(display, window, crtc_x, crtc_y, Width, Height);
|
||||||
XMoveWindow(display, window, crtc_x, crtc_y);
|
|
||||||
XRaiseWindow(display, window);
|
XRaiseWindow(display, window);
|
||||||
XFlush(display);
|
XFlush(display);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user