mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
WindowServer: Add WindowFrame::invalidate_menubar() and use it
Clean up a FIXME about overly aggressive invalidation.
This commit is contained in:
parent
b180e154aa
commit
092e5b75ba
3 changed files with 7 additions and 2 deletions
|
@ -1264,8 +1264,7 @@ void Window::invalidate_menubar()
|
|||
{
|
||||
if (!m_should_show_menubar || !menubar())
|
||||
return;
|
||||
// FIXME: This invalidates way more than the menubar!
|
||||
frame().invalidate();
|
||||
frame().invalidate_menubar();
|
||||
}
|
||||
|
||||
void Window::set_modified(bool modified)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue