From ac1e7e10eb1a060ec64eb8317c763b3e06653c28 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Thu, 6 Jan 2022 08:04:59 +0000 Subject: [PATCH] Set window to focused when created --- platform/linuxbsd/display_server_x11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linuxbsd/display_server_x11.h b/platform/linuxbsd/display_server_x11.h index b5fd3664d36..78153589dcc 100644 --- a/platform/linuxbsd/display_server_x11.h +++ b/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;