[dev] [dwm] Tags vs Monitors continued

2012-02-27 Thread Jan Christoph Ebersbach
Hi Thomas,
Hi everybody,

I experienced the very same difficulties with dwm's multi-monitor
support that Thomas described earlier this year. In the attached patch I
solved the problem by detaching the list of clients from the monitor.
There is just one list of clients and all tags are shared between the
monitors.

The biggest advantage in my eyes is the ability to swap tags between
monitors while every monitor still keeps its one tag(s).

It's crucial that a tag/window can't be displayed on two monitors at the
same this. The patch implements this functionality at the cost of
MODKEY-0 - it doesn't work anymore in a multi-monitor setup.

Feedback is very welcome. The patch is very fresh and I expect that a
number of corner cases won't work. Due to the large number of changes
it's very likely that the patch also breaks other patches.

https://bitbucket.org/jceb81/dwm-patches/raw/95eca0c72fc7/single_clientlist.patch

Cheers,

Jan Christoph



RE: [dev] [dwm] Tags vs Monitors continued

2012-02-27 Thread Jan Christoph Ebersbach
Here is an updated version of the patch that doesn't cause dwm to crash when 
adding or removing monitors. There is also a know issue when multiple tags are 
assigned to a single window. The patch doesn't prevent you from displaying both 
tags on two monitors at the same time - better don't do it.

https://bitbucket.org/jceb81/dwm-patches/raw/53cc07efad29/single_clientlist.patch

Cheers,

Jan Christoph

-Original message-
From:   Jan Christoph Ebersbach j...@e-jc.de
Sent:   Mon 27-02-2012 21:12
Subject:[dev] [dwm] Tags vs Monitors continued
To: dev@suckless.org; 
CC: 78...@web.de; 
 Hi Thomas,
 Hi everybody,
 
 I experienced the very same difficulties with dwm's multi-monitor
 support that Thomas described earlier this year. In the attached patch I
 solved the problem by detaching the list of clients from the monitor.
 There is just one list of clients and all tags are shared between the
 monitors.
 
 The biggest advantage in my eyes is the ability to swap tags between
 monitors while every monitor still keeps its one tag(s).
 
 It's crucial that a tag/window can't be displayed on two monitors at the
 same this. The patch implements this functionality at the cost of
 MODKEY-0 - it doesn't work anymore in a multi-monitor setup.
 
 Feedback is very welcome. The patch is very fresh and I expect that a
 number of corner cases won't work. Due to the large number of changes
 it's very likely that the patch also breaks other patches.
 
 https://bitbucket.org/jceb81/dwm-patches/raw/95eca0c72fc7/single_clientlist.patc
 h
 
 Cheers,
 
 Jan Christoph