mirror of
https://github.com/0intro/wmii
synced 2025-01-06 02:22:01 +03:00
Fix 'select up/down' of clients
This commit is contained in:
parent
5c56c012d5
commit
9897ab516c
4
area.c
4
area.c
@ -345,8 +345,8 @@ select_area(Area *a, char *arg) {
|
||||
for(p=a->frame; p->anext; p=p->anext)
|
||||
if(p->anext == f) break;
|
||||
a->sel = p;
|
||||
arrange_column(a, False);
|
||||
frame_to_top(p);
|
||||
focus(p->client, True);
|
||||
if(v == screen->sel)
|
||||
restack_view(v);
|
||||
flush_masked_events(EnterWindowMask);
|
||||
@ -357,8 +357,8 @@ select_area(Area *a, char *arg) {
|
||||
return Ebadvalue;
|
||||
p = f->anext ? f->anext : a->frame;
|
||||
a->sel = p;
|
||||
arrange_column(a, False);
|
||||
frame_to_top(p);
|
||||
focus(p->client, True);
|
||||
if(v == screen->sel)
|
||||
restack_view(v);
|
||||
flush_masked_events(EnterWindowMask);
|
||||
|
Loading…
Reference in New Issue
Block a user