mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +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
Notes:
sideshowbarker
2024-07-18 10:09:14 +09:00
Author: https://github.com/awesomekling
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