summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2022-01-06 08:04:59 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2022-01-06 08:04:59 +0000
commitac1e7e10eb1a060ec64eb8317c763b3e06653c28 (patch)
tree2d8cc98d90e271214b203bbd1f04c08289a2b7e2 /platform
parent98693e96ae0dea9c7fe1b78b7b04961fc73f37a6 (diff)
Set window to focused when created
Diffstat (limited to 'platform')
-rw-r--r--platform/linuxbsd/display_server_x11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/display_server_x11.h b/platform/linuxbsd/display_server_x11.h
index b5fd3664d3..78153589dc 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;