From 3d73084b5ef25bca354b32e049b2904aa9519c09 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Fri, 4 Aug 2006 18:17:02 +0200 Subject: fixed view-change bug reported on the list --- tag.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/tag.c b/tag.c index 015a06a..72d87d3 100644 --- a/tag.c +++ b/tag.c @@ -57,14 +57,12 @@ dofloat(Arg *arg) else ban(c); } - if(sel && !sel->tags[tsel]) { - if((sel = getnext(clients))) { - higher(sel); - focus(sel); - } - else - XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); + if((sel = getnext(clients))) { + higher(sel); + focus(sel); } + else + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); drawall(); } @@ -122,14 +120,12 @@ dotile(Arg *arg) else ban(c); } - if(!sel || (sel && !sel->tags[tsel])) { - if((sel = getnext(clients))) { - higher(sel); - focus(sel); - } - else - XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); + if((sel = getnext(clients))) { + higher(sel); + focus(sel); } + else + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); drawall(); } -- cgit 1.4.1-2-gfad0 s/ranger/refs/?h=v1.2.3&id=fab4dc542e9f2b0ee55a97046915894c9e5ae37b'>refs log blame commit diff stats
path: root/all_tests.py
blob: 6693b8708e2bbabf0b15769277ff525c2a1504b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11