Skip to content

Conversation

xoores
Copy link
Owner

@xoores xoores commented Oct 31, 2023

By default, we group workspaces by monitor with the help of _NET_DESKTOP_VIEWPORT. However, some users may experience this as an unpredictable "shuffling" of workspaces. While WMs could disable advertising the property itself, it seems more sensible to handle this at the level of polybar. Hence, introduce a new group-by-monitor flag—defaulting to true—which can be used to disable this behaviour.

Closes: polybar#2603
Related: xmonad/xmonad-contrib#791
Related: qtile/qtile#3375

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other: Replace this with a description of the type of this PR

Description

Related Issues & Documents

By default, we group workspaces by monitor with the help of
_NET_DESKTOP_VIEWPORT.  However, some users may experience this as an
unpredictable "shuffling" of workspaces.  While WMs could disable
advertising the property itself, it seems more sensible to handle this
at the level of polybar.  Hence, introduce a new group-by-monitor
flag—defaulting to true—which can be used to disable this behaviour.

Closes: #2603
Related: xmonad/xmonad-contrib#791
Related: qtile/qtile#3375

Co-authored-by: scaramangado <scaramangado@gmail.com>
@xoores xoores closed this Oct 31, 2023
@xoores xoores reopened this Oct 31, 2023
@xoores xoores merged commit e24a002 into xoores:master Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: _NET_DESKTOP_VIEWPORT causes workspace order to change when using multiple monitors (xworkspaces)
2 participants