[wmii] swap up -- off by one problem

From: Suraj N. Kurapati <snk_AT_gna.org>
Date: Wed, 30 Jan 2008 00:10:58 -0800

Hello,

I am using hg tip of both wmii (at 2266:3209815c2cec) and libixp (at
88:3e1f5e86e99b).

When I do a "swap up" command on a client, it swaps with the client
2 above (instead of 1 above) it. To illustrate, make a column with
3 clients. Focus the bottom client and run:

  wmiir xwrite /tag/sel/ctl "swap sel up"

Now the (previously) bottom client is now the top-most client.

Furthermore, wmii gives an error if you try to run "swap up" in a
column with less than 3 clients.

Thanks for your consideration.
Received on Wed Jan 30 2008 - 09:11:32 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:35:24 UTC