Przeglądaj źródła

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

Marcelo Fernandez 6 lat temu
rodzic
commit
385832ed30
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      platform/x11/os_x11.cpp

+ 1 - 1
platform/x11/os_x11.cpp

@@ -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;