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
Notes:
sideshowbarker
2024-07-18 01:27:15 +09:00
Author: https://github.com/swoertz 🔰 Commit: https://github.com/SerenityOS/serenity/commit/727cdcf82ce Pull-request: https://github.com/SerenityOS/serenity/pull/10829 Issue: https://github.com/SerenityOS/serenity/issues/10828
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
Reference in a new issue