1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Merge pull request #101135 from Hilderin/fix-embedding-not-working-intermittently

Fix embedding failing intermittently
This commit is contained in:
Rémi Verschelde
2025-01-06 22:49:05 +01:00
2 changed files with 4 additions and 22 deletions

View File

@@ -5720,7 +5720,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;
}