Re: [wmii] wmii-3.1 patch (fix): allow empty view if current

From: Suraj N. Kurapati <skurapat_AT_ucsc.edu>
Date: Sun, 17 Sep 2006 15:42:49 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Suraj N. Kurapati wrote:
> This patch enables you to create and stay in an empty view, as long
> as it is the currently focused one.

Attached is a new version of my patch, which fixes the following
problems.

1. There was a segfault when switching from one empty view to
another empty view whose name was larger (in terms of ASCII
ordering) than any existing view.

For example, if your views are [1, "foo", "mail"] and you are in the
currently empty "foo" view, then the segfault occurs when you change
to the nonexistent "z" view.

2. Whitespace was not being stripped from the argument of the "view
NAME_OF_VIEW" command, as it was done for changing a client's tags.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFDc9pmV9O7RYnKMcRAlm5AJ4mgRZ7uJqXVrkYfrhA/bZOmlGHLACfYZDL
JglHGQ84OX4tanAgUqvKSVc=
=iRSM
-----END PGP SIGNATURE-----

Received on Mon Sep 18 2006 - 00:43:08 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:14:01 UTC