stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] Flipping heads in group to groups in head!


From: Lionel Flandrin
Subject: Re: [STUMP] Flipping heads in group to groups in head!
Date: Thu, 19 May 2011 06:46:14 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, May 14, 2011 at 10:17:02AM +0200, Mikael Jansson wrote:
> On 05/14/2011 04:31 AM, Mehul Sanghvi wrote:
> > On Fri, May 13, 2011 at 07:37, Mikael Jansson <address@hidden> wrote:
> >> Heya,
> >>
> >> I want to keep a group visible on one of my monitor at all times and just
> >> change the group of my main screen. Typically the always-visible-group is
> >> for IRC, documentation and similar.
> >>
> >> The way StumpWM works right now is to keep all heads and associated frames
> >> per group.  What I suggest is to flip it around, such that each head has a
> >> list of groups, independent of each other.
> >>
> >> Say you have a 3-head setup with the groups
> >>
> >>  h1:h1g1 h2:h2g1 h3:h3g1
> >>
> >> where hNgM is head N's group M. Initially, groups couldn't be moved between
> >> heads, although that would probably be easy to add support for.
> >>
> >> So: When any frame on h1 has focus and you do 'gselect 3', the new layout
> >> will be
> >>
> >>  h1:h1g3 h2:h2g1 h3:h3g1
> >>
> >> This is a super-set of the current behaviour, which could be emulated by
> >> gluing heads together so gselect would change groups on all heads glued
> >> together with the current.  Say you have h2 and h3 glued together and then
> >> issue gselect 4.  You'll get
> >>
> >>  h1:h1g3  h2:h2g4  h3:h3g4
> >>
> >> with h1's group still at 3 after the previous command.
> >>
> >> Comments?
> >>
> > 
> > 
> > What would be needed to get this support into StumpWM ?
> > As far as I understand it its not possible to get it done in stumpwm.
> >
> 
> It would require changes more or less everywhere.
> 
> I sent out the idea to get feedback on whether the design is sound or not.

It would probably mean breaking a lot of code and stumpwmrcs
everywhere, but I really support this motion. Having independent heads
would be a killer feature for me.

You can get a similar behaviour if you use separate DISPLAYs for each
head (i.e. not Xinerama with one big virtual screen). The drawback is
that you can't move a window from one screen to the other, which is
pretty dishabilitating.

Cheers,
-- 
Lionel Flandrin

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]