1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Merge pull request #23815 from marcelofg55/x11_fs_fix

Fix X11 running a project with fullscreen setting on and resizable off with multiple screens
This commit is contained in:
Rémi Verschelde
2018-11-20 08:48:41 +01:00
committed by GitHub

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;