bughelp wantedneeds confirmation
描述
I'm trying to use xworkspaces plugin with i3 so I can keep my polybar config consistent when I switch to other WMs.
I've noticed a bug where an active workspace shows up as empty after switching to it from an empty workspace directly preceding it. I have attached a screen recording below:
To clarify what's going on:
- switch from workspace 2 to 4 to show how it should behave
- switch from workspace 2 to 3 to 4
- once we end up on 4, it should be active, but instead it is displayed as empty, and none of the workspaces are highlighted.
Relevant part of my config:
[module/ewmh]
type = internal/xworkspaces
label-active = %name%(active)
label-active-background =#FFFFFF
label-empty = %name%(empty)
I speculate this is caused by i3 removing the empty workspace (3 in my example), causing the index of the current workspace to not change. I've tried to look through the module's source code, but was unable to pinpoint the exact cause.