]> git.mdlowis.com Git - proto/labwc.git/commit
src/view.c: Fix minimizing the last window
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 30 Aug 2022 00:10:56 +0000 (02:10 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 30 Aug 2022 09:44:01 +0000 (10:44 +0100)
commitce5e7e153c7046c96cb8f1ebfb49d1f3cfcdfaf9
tree2991571b5e69e504cc1ab950fad6ae475ea19d88
parentadc1e0876dc3f55c275f13d7e102df0eb3dbdab8
src/view.c: Fix minimizing the last window

Before this patch, minimizing the last un-minimized window would
not cause it to be set to inactive. This in turn would confuse panels
which depend on the 'active' flag to decide when to either activate or
minimize the clicked on window.

Reported-by: @Flrian
Predicted-by: @johanmalm
src/view.c