1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Fix popup shows behind always_on_top parent.

(cherry picked from commit 2211b1bf91)
This commit is contained in:
Zae
2024-12-10 01:35:25 +08:00
committed by Rémi Verschelde
parent 9e4b5699fc
commit e84f8c0a67
5 changed files with 44 additions and 14 deletions

View File

@@ -212,7 +212,7 @@ private:
Callable system_theme_changed;
WindowID _create_window(WindowMode p_mode, VSyncMode p_vsync_mode, const Rect2i &p_rect);
void _update_window_style(WindowData p_wd);
void _update_window_style(WindowData p_wd, WindowID p_window);
void _update_displays_arrangement();
Point2i _get_native_screen_position(int p_screen) const;
@@ -262,6 +262,8 @@ public:
void mouse_exit_window(WindowID p_window);
void update_presentation_mode();
bool is_always_on_top_recursive(WindowID p_window) const;
void window_destroy(WindowID p_window);
void window_resize(WindowID p_window, int p_width, int p_height);
void window_set_custom_window_buttons(WindowData &p_wd, bool p_enabled);