[hackers] [wmii] Focus windows regardless of whether they form a new group. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Mon, 28 Sep 2009 21:36:09 +0000 (UTC)

changeset: 2491:b6e9a0875f95
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Sep 28 17:24:01 2009 -0400
files: cmd/wmii/view.c
description:
Focus windows regardless of whether they form a new group.

diff -r 5a8231310d6a -r b6e9a0875f95 cmd/wmii/view.c
--- a/cmd/wmii/view.c Mon Sep 28 17:24:01 2009 -0400
+++ b/cmd/wmii/view.c Mon Sep 28 17:24:01 2009 -0400
@@ -375,8 +375,7 @@
                                              c->sel->view);
 
         if(!(c->w.ewmh.type & (TypeSplash|TypeDock))) {
- if(newgroup
- && !(c->tagre.regex && regexec(c->tagre.regc, v->name, nil, 0)))
+ if(!(c->tagre.regex && regexec(c->tagre.regc, v->name, nil, 0)))
                         frame_focus(f);
                 else if(c->group && f->area->sel->client->group == c->group)
                         /* XXX: Stack. */
Received on Mon Sep 28 2009 - 21:36:09 UTC

This archive was generated by hypermail 2.2.0 : Mon Sep 28 2009 - 21:48:08 UTC