mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
WindowServer: Only invalidate the menubar rect when switching menubars.
This commit is contained in:
parent
b561a5976f
commit
57546d8420
Notes:
sideshowbarker
2024-07-19 15:40:14 +09:00
Author: https://github.com/awesomekling
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);
|
next_menu_location.move_by(menu.rect_in_menubar().width(), 0);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
invalidate();
|
invalidate(menubar_rect());
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char* s_close_button_bitmap_data = {
|
static const char* s_close_button_bitmap_data = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue