Re: [wmii] swap up -- off by one problem

From: Kris Maglione <jg_AT_suckless.org>
Date: Wed, 30 Jan 2008 14:40:56 -0500

On Wed, Jan 30, 2008 at 12:10:58AM -0800, Suraj N. Kurapati wrote:
>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:

I don't know when this came up. The code which handles swaps via
the FS also handles moves, and, for moves, it needs to find the
second-previous client. Not so for swaps. I've committed the
fix, but haven't tested it. The same goes for the focus bug.

-- 
Kris Maglione
1) You can't win
2) You can't break even
3) You can't even quit the game
PGP: http://suckless.org/~jg/pubkey.pgp
SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935

Received on Wed Jan 30 2008 - 20:41:09 UTC

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