Fix embedding not working intermittently
This commit is contained in:
parent
bdf625bd54
commit
2f061df7b0
2 changed files with 4 additions and 22 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue