DesktopPicker: Make sure the applet always ends up in the same place

This commit is contained in:
Andreas Kling 2021-07-21 21:34:11 +02:00
parent d3c25593b9
commit 027bfc4eff
2 changed files with 2 additions and 1 deletions

View file

@ -48,7 +48,7 @@ DoubleClickSpeed=250
Mode=stretch
[Applet]
Order=CPUGraph,MemoryGraph,Network,ClipboardHistory,Audio
Order=DesktopPicker,CPUGraph,MemoryGraph,Network,ClipboardHistory,Audio
[VirtualDesktops]
Rows=2

View file

@ -32,6 +32,7 @@ int main(int argc, char** argv)
}
auto window = DesktopStatusWindow::construct();
window->set_title("DesktopPicker");
window->resize(28, 16);
window->show();
window->make_window_manager(WindowServer::WMEventMask::VirtualDesktopChanges);