uicb_client_zoom() on nmaster swap with next window
This commit is contained in:
parent
51911613c5
commit
1ff5740104
3
layout.c
3
layout.c
|
@ -302,6 +302,9 @@ uicb_client_zoom(awesome_config *awesomeconf,
|
|||
{
|
||||
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||
|
||||
if(*awesomeconf->clients == sel)
|
||||
for(sel = sel->next; sel && !isvisible(sel, awesomeconf->screen, awesomeconf->tags, awesomeconf->ntags); sel = sel->next);
|
||||
|
||||
if(!sel)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue