[Xmonad] Xinerama screen numbering seems to have changed

Spencer Janssen sjanssen at cse.unl.edu
Sat Jul 7 18:58:55 EDT 2007

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.

Also, there was a bug in 'rescreen' that may be related to this.  Do
you use xrandr with multiple screens?

Spencer Janssen

More information about the Xmonad mailing list