]> git.sur5r.net Git - i3/i3/commit
Correctly count the number of windows for no_focus. (#2296)
authorIngo Bürk <admin@airblader.de>
Fri, 15 Apr 2016 07:26:42 +0000 (09:26 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Fri, 15 Apr 2016 07:26:42 +0000 (00:26 -0700)
commit80dddd9961263be8ac3b46a15a9cc9302525071d
treee67ab0cfbb0ac3e11d68dfc806aa97dd811430ca
parent83c8740bf143c213ce4a6ce1f9c39095cafe7435
Correctly count the number of windows for no_focus. (#2296)

Previously we counted the number of (direct) children of the workspace to
decide whether no_focus should be applied or not. However, this doesn't
work correctly if there's a single container with multiple windows on the
workspace.

This patch correctly counts all windows on the workspace.

fixes #2292
include/con.h
src/con.c
src/manage.c