mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +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:
parent
1d777073fd
commit
727cdcf82c
1 changed files with 1 additions and 0 deletions
|
@ -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({});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue