mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
WindowServer: Allow different shadows for active/inactive windows
Also allow specifying different shadows for the task and menu bar.
This commit is contained in:
parent
8c694ed6eb
commit
cf1c159ed5
10 changed files with 41 additions and 12 deletions
|
@ -1287,6 +1287,9 @@ void WindowManager::set_active_window(Window* window, bool make_input)
|
|||
} else {
|
||||
MenuManager::the().set_current_menubar(nullptr);
|
||||
}
|
||||
|
||||
// Window shapes may have changed (e.g. shadows for inactive/active windows)
|
||||
Compositor::the().invalidate_occlusions();
|
||||
}
|
||||
|
||||
void WindowManager::set_hovered_window(Window* window)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue