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

(cherry picked from commit 385832ed30)
This commit is contained in:
Marcelo Fernandez 2018-11-18 23:03:54 -03:00 committed by Rémi Verschelde
parent 02585688cd
commit 08fd792c45
1 changed files with 1 additions and 1 deletions

View File

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