all repos — tint2 @ 82dc07d7c3566e17e6b794c75b1d6645fd20870b

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Sort correctly for primary_monitor_first
o9000 mrovi9000@gmail.com
commit

82dc07d7c3566e17e6b794c75b1d6645fd20870b

parent

737150d7e97df32b03eec062a3eb955145950663

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/server.csrc/server.c

@@ -265,9 +265,9 @@ const Monitor *m2 = (const Monitor *)monitor2;

if (primary_monitor_first) { if (m1->primary && !m2->primary) - return 1; - if (m2->primary && !m1->primary) return -1; + if (!m1->primary && m2->primary) + return 1; } if (m1->x < m2->x) {