You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The xworkspaces module does not look at _NET_WM_STATE at all. It only uses the urgency bit (in WM_HINTS).
My WM (herbstluftwm) seems to set the urgency bit when _NET_WM_STATE_DEMANDS_ATTENTION is set, and yours probably doesn't you can confirm with the following command:
xprop -spy | grep -i urgency
If this is just about setting the urgency hint properly, you can try this:
patrick96
changed the title
[Bug]: XWorkspaces does not get urgent flag from XMonad
[Feature]: XWorkspaces does not get urgent flag from XMonad
Apr 23, 2024
Thanks a lot for thorough explanation Patrick! Your hunch was indeed right, XMonad does not set WM_HINTS when it comes to urgency. I'm too unfamiliar with polybar codebase, so I guess I'll just dance around getWMHints in XMonad config.
Checklist
Steps to reproduce
Minimal config
Polybar log
Expected behavior
The icon for the workspace containing qutebrowser becomes red.
Actual behavior
The icon for the workspace containing qutebrowser keeps having "occupied" color.
Window Manager and Version
XMonad 0.17.0
Linux Distribution
Gentoo
Polybar version
Additional Context / Screenshots
The window in question does get the red frame as per XMonad config, so this appears to be unrelated to XMonad itself:
The text was updated successfully, but these errors were encountered: