mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Let the WindowManager track the active window.
We draw the active window in a different color, obviously. :^)
This commit is contained in:
parent
560405667e
commit
44a32039be
Notes:
sideshowbarker
2024-07-19 18:48:58 +09:00
Author: https://github.com/awesomekling
Commit: 44a32039be
4 changed files with 63 additions and 12 deletions
|
@ -85,3 +85,9 @@ void Window::event(Event& event)
|
|||
|
||||
return Object::event(event);
|
||||
}
|
||||
|
||||
bool Window::isActive() const
|
||||
{
|
||||
return WindowManager::the().activeWindow() == this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue