mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Taskbar: Only show the current desktop's window buttons
By tracking what virtual desktop a window is on, and what desktop is being viewed we can show or hide the window buttons accordingly.
This commit is contained in:
parent
5acee4b4d0
commit
cc707270ae
4 changed files with 40 additions and 1 deletions
|
@ -60,7 +60,8 @@ int main(int argc, char** argv)
|
|||
window->make_window_manager(
|
||||
WindowServer::WMEventMask::WindowStateChanges
|
||||
| WindowServer::WMEventMask::WindowRemovals
|
||||
| WindowServer::WMEventMask::WindowIconChanges);
|
||||
| WindowServer::WMEventMask::WindowIconChanges
|
||||
| WindowServer::WMEventMask::VirtualDesktopChanges);
|
||||
|
||||
return app->exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue