uicb_client_zoom() on nmaster swap with next window

This commit is contained in:
Toshihide Shimayama 2007-11-17 08:37:42 +01:00 committed by Julien Danjou
parent 51911613c5
commit 1ff5740104
1 changed files with 3 additions and 0 deletions

View File

@ -302,6 +302,9 @@ uicb_client_zoom(awesome_config *awesomeconf,
{ {
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel; 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) if(!sel)
return; return;