minor bug in ALLWINDOWS mode

This commit is contained in:
fluxgen 2004-01-09 10:27:23 +00:00
parent 33f48a58b0
commit 5451d138c3

View file

@ -20,7 +20,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: IconbarTool.cc,v 1.25 2003/12/23 01:55:07 rathnor Exp $ // $Id: IconbarTool.cc,v 1.26 2004/01/09 10:27:23 fluxgen Exp $
#include "IconbarTool.hh" #include "IconbarTool.hh"
@ -434,7 +434,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
renderTheme(); renderTheme();
} }
} else if (mode() != WORKSPACE) { } else if (mode() != WORKSPACE) {
if (winsubj->win().isIconic()) { if (winsubj->win().isIconic() && mode() != ALLWINDOWS) {
removeWindow(winsubj->win()); removeWindow(winsubj->win());
renderTheme(); renderTheme();
} }