mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Revert "WindowServer: Remove redundant Window::set_visible()..."
This reverts commit 239520ae54.
The call to set_visible() is not redundant. Removing the call leads
to the "start" button in the taskbar not being painted as "pressed" even
when it is.
This commit is contained in:
committed by
Andreas Kling
parent
1d777073fd
commit
727cdcf82c
@@ -638,6 +638,7 @@ void Menu::do_popup(const Gfx::IntPoint& position, bool make_input, bool as_subm
|
||||
}
|
||||
|
||||
window.move_to(adjusted_pos);
|
||||
set_visible(true);
|
||||
MenuManager::the().open_menu(*this, make_input);
|
||||
WindowManager::the().did_popup_a_menu({});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user