Fix X11 running a project with fullscreen setting on and resizable off with multiple screens

This commit is contained in:
Marcelo Fernandez 2018-11-18 23:03:54 -03:00
parent 60cbb69c7c
commit 385832ed30
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ Error OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
}
// disable resizable window
if (!current_videomode.resizable) {
if (!current_videomode.resizable && !current_videomode.fullscreen) {
XSizeHints *xsh;
xsh = XAllocSizeHints();
xsh->flags = PMinSize | PMaxSize;