mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 11:57:35 +00:00
WindowServer: Only invalidate the menubar rect when switching menubars.
This commit is contained in:
parent
b561a5976f
commit
57546d8420
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ void WSWindowManager::set_current_menubar(WSMenuBar* menubar)
|
|||
next_menu_location.move_by(menu.rect_in_menubar().width(), 0);
|
||||
return true;
|
||||
});
|
||||
invalidate();
|
||||
invalidate(menubar_rect());
|
||||
}
|
||||
|
||||
static const char* s_close_button_bitmap_data = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue