소스 검색

Set window to focused when created

Marcel Admiraal 3 년 전
부모
커밋
ac1e7e10eb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      platform/linuxbsd/display_server_x11.h

+ 1 - 1
platform/linuxbsd/display_server_x11.h

@@ -145,7 +145,7 @@ class DisplayServerX11 : public DisplayServer {
 		bool borderless = false;
 		bool resize_disabled = false;
 		Vector2i last_position_before_fs;
-		bool focused = false;
+		bool focused = true;
 		bool minimized = false;
 
 		unsigned int focus_order = 0;