Skip to content

Commit

Permalink
Add 'show_window' method to sort topmost windows
Browse files Browse the repository at this point in the history
  • Loading branch information
artnaum committed Apr 25, 2024
1 parent 03d0996 commit 35c5fd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servers/display_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,8 @@ void DisplayServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_window_list"), &DisplayServer::get_window_list);
ClassDB::bind_method(D_METHOD("get_window_at_screen_position", "position"), &DisplayServer::get_window_at_screen_position);

ClassDB::bind_method(D_METHOD("show_window"), &DisplayServer::show_window);

ClassDB::bind_method(D_METHOD("window_get_native_handle", "handle_type", "window_id"), &DisplayServer::window_get_native_handle, DEFVAL(MAIN_WINDOW_ID));
ClassDB::bind_method(D_METHOD("window_get_active_popup"), &DisplayServer::window_get_active_popup);
ClassDB::bind_method(D_METHOD("window_set_popup_safe_rect", "window", "rect"), &DisplayServer::window_set_popup_safe_rect);
Expand Down

0 comments on commit 35c5fd1

Please sign in to comment.