Skip to content

Commit

Permalink
Fix Embedded Game disappear when not focused
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilderin committed Jan 27, 2025
1 parent 6dc78c8 commit e3d96b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/linuxbsd/x11/display_server_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6191,7 +6191,7 @@ DisplayServerX11::WindowID DisplayServerX11::_create_window(WindowMode p_mode, V
}
}

if (wd.is_popup || wd.no_focus || wd.embed_parent) {
if (wd.is_popup || wd.no_focus) {
// Set Utility type to disable fade animations.
Atom type_atom = XInternAtom(x11_display, "_NET_WM_WINDOW_TYPE_UTILITY", False);
Atom wt_atom = XInternAtom(x11_display, "_NET_WM_WINDOW_TYPE", False);
Expand Down

0 comments on commit e3d96b3

Please sign in to comment.