mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 18:35:09 +00:00
WindowServer: Add a window switcher.
This needs some work on the window ordering and things like that, but it works quite nicely as a starting point. The keyboard shortcut is Logo+Tab. :^)
This commit is contained in:
parent
483e0a5526
commit
5c27e74fac
7 changed files with 277 additions and 50 deletions
|
@ -148,3 +148,8 @@ void WSWindow::invalidate()
|
|||
{
|
||||
WSWindowManager::the().invalidate(*this);
|
||||
}
|
||||
|
||||
bool WSWindow::is_active() const
|
||||
{
|
||||
return WSWindowManager::the().active_window() == this;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue