1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Fix embedding not working intermittently

This commit is contained in:
Hilderin
2025-01-04 14:24:52 -05:00
parent bdf625bd54
commit 2f061df7b0
2 changed files with 4 additions and 22 deletions

View File

@@ -5718,7 +5718,7 @@ Error DisplayServerX11::embed_process(WindowID p_window, OS::ProcessID p_pid, co
}
}
if (desired_rect.size.x < 100 || desired_rect.size.y < 100) {
if (desired_rect.size.x <= 100 || desired_rect.size.y <= 100) {
p_visible = false;
}