Use a vector instead of a map for for storing the workspace windows. This orders the windows by the time they were added to the workspace, instead of sorting by address (which is effectively a random order). The new ordering seems to match the wlr/taskbar module |
||
|---|---|---|
| .. | ||
| backend.hpp | ||
| language.hpp | ||
| submap.hpp | ||
| window.hpp | ||
| windowcreationpayload.hpp | ||
| workspace.hpp | ||
| workspaces.hpp | ||