Fix a problem in IrrlichtDevice::setResizable that caused window titlebars to...
Fix a problem in IrrlichtDevice::setResizable that caused window titlebars to hide occasionally under the taskbar in some systems (Ubuntu, Mint). This was caused by quick calls to XUnmapWindow followed by XMapWindow which some WM's can't handle. Adding a long sleep call (~200ms) in between would have been a workaround, but looked ugly as the window is hidden in the meantime. I found no reference in X11 documentation that unmapping is necessary for this, so I removed those calls now. Changing the resize flags still works in my tests on Debian and Ubuntu. If it causes problems we have to switch to the ugly hack or get certain systems to repair their window managers. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5091 dfc29bdd-3216-0410-991c-e03cc46cb475
Showing
Please register or sign in to comment