mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-10 15:39:28 +00:00
WindowServer: Always restore modal chain when clicking a window
Refactors restore helper into move_to_front_and_make_active(). Fixes not bringing all modal children to the front when any modal child or its modeless parent is clicked.
This commit is contained in:
committed by
Andreas Kling
parent
d815f659cc
commit
aa045a9fdf
@@ -63,7 +63,7 @@ void WMConnectionFromClient::set_active_window(i32 client_id, i32 window_id)
|
||||
return;
|
||||
}
|
||||
auto& window = *(*it).value;
|
||||
WindowManager::the().restore_modal_chain(window);
|
||||
WindowManager::the().move_to_front_and_make_active(window);
|
||||
}
|
||||
|
||||
void WMConnectionFromClient::popup_window_menu(i32 client_id, i32 window_id, Gfx::IntPoint const& screen_position)
|
||||
|
||||
Reference in New Issue
Block a user