[Xmonad] Xinerama screen numbering seems to have changed

Jason Creighton jcreigh at gmail.com
Sat Jul 7 21:59:40 EDT 2007


On Sat, Jul 07, 2007 at 05:58:55PM -0500, Spencer Janssen wrote:
> On Sat, 07 Jul 2007 23:01:21 +0100
> Bruce Stephens <xmonad at cenderis.demon.co.uk> wrote:
> 
> > It seems that they're numbered from 1 rather than 0, so everything
> > works OK if I do
> > 
> > hunk ./Config.hs 175
> > -        | (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
> > +        | (key, sc) <- zip [xK_w, xK_e, xK_r] [1..]
> > 
> > and make the appropriate change to dmenuXinerama.  Is that a
> > deliberate change?  (I'm indifferent to it; I'm just slightly
> > concerned I might have broken something in my local build.)
> 
> We number them from 0 in xmonad intentionally -- I'm not sure how the
> Xinerama patched dmenu numbers them.  Jason wrote that patch, let's see
> what he has to say about this.

Xinerama-patched dmenu uses 1-indexed screen numbers, whereas, as
Spencer notes, xmonad users 0-indexed screen numbers.

IIRC, it's been that way for at least a couple weeks, so I'm puzzled as
to why you'd be running into breakage.

Jason Creighton


More information about the Xmonad mailing list