mirror of
https://github.com/0intro/wmii
synced 2025-02-07 09:54:56 +03:00
fixed sendtopage sel semantic, now in such case the client is focused
This commit is contained in:
parent
7166dd8836
commit
7e050df355
@ -588,7 +588,9 @@ sendtopage_client(Client *c, char *arg) {
|
||||
}
|
||||
detach_client(c, False);
|
||||
attach_client2page(p, c);
|
||||
if((next = sel_client_of_page(page[sel])))
|
||||
if(p == page[sel])
|
||||
focus_client(c);
|
||||
else if((next = sel_client_of_page(page[sel])))
|
||||
focus_client(next);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user