mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Fix x11 boot logo position in fullscreen and in maximized
This commit is contained in:
		
							parent
							
								
									0268a95828
								
							
						
					
					
						commit
						55fae24710
					
				
					 4 changed files with 45 additions and 48 deletions
				
			
		
							
								
								
									
										2
									
								
								main/main.cpp
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								main/main.cpp
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							|  | @ -395,6 +395,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph | |||
| 		} else if (I->get() == "-m" || I->get() == "--maximized") { // force maximized window
 | ||||
| 
 | ||||
| 			init_maximized = true; | ||||
| 			video_mode.maximized = true; | ||||
| 		} else if (I->get() == "-w" || I->get() == "--windowed") { // force windowed window
 | ||||
| 
 | ||||
| 			init_windowed = true; | ||||
|  | @ -716,6 +717,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph | |||
| 		Engine::get_singleton()->set_editor_hint(true); | ||||
| 		main_args.push_back("--editor"); | ||||
| 		init_maximized = true; | ||||
| 		video_mode.maximized = true; | ||||
| 		use_custom_res = false; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 santouits
						santouits