aboutsummaryrefslogtreecommitdiffstats
path: root/group.c
diff options
context:
space:
mode:
authorokan2013-01-10 15:28:11 +0000
committerokan2013-01-10 15:28:11 +0000
commitcc9f2b88e76876e789962de22f3996dcc31b41b6 (patch)
treefb24fc6f41f46abdaf625ed0b4de9e27470883c1 /group.c
parent4372e951672dfbd5308d0794d0b4fe7f47d4c050 (diff)
downloadcwm-cc9f2b88e76876e789962de22f3996dcc31b41b6.tar.gz
set the initial group to '1', missed by recent off-by-one group
numbering re-work; discovered the hard way by sthen@. ok sthen@
Diffstat (limited to 'group.c')
-rw-r--r--group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/group.c b/group.c
index 8df50a0..5a75bff 100644
--- a/group.c
+++ b/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.68 2013/01/01 14:50:01 okan Exp $
+ * $OpenBSD: group.c,v 1.69 2013/01/10 15:28:11 okan Exp $
*/
#include <sys/param.h>
@@ -160,7 +160,7 @@ group_init(struct screen_ctx *sc)
xu_ewmh_net_showing_desktop(sc);
xu_ewmh_net_virtual_roots(sc);
- group_setactive(sc, 0);
+ group_setactive(sc, 1);
}
void