# HG changeset patch # User rubidium # Date 1313945311 0 # Node ID b7800d6fd5175403ee6f0265cf30676108c67fc6 # Parent aac454b5ae0548d1cb62bcff1eebba55bb41dded (svn r22803) -Fix (r22796): clicking should not work either when hiding windows diff --git a/src/window.cpp b/src/window.cpp --- a/src/window.cpp +++ b/src/window.cpp @@ -1350,7 +1350,7 @@ { Window *w; FOR_ALL_WINDOWS_FROM_FRONT(w) { - if (IsInsideBS(x, w->left, w->width) && IsInsideBS(y, w->top, w->height)) { + if (MayBeShown(w) && IsInsideBS(x, w->left, w->width) && IsInsideBS(y, w->top, w->height)) { return w; } }