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:
parent
02585688cd
commit
08fd792c45
|
@ -316,7 +316,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;
|
||||
|
|
Loading…
Reference in New Issue