From 1ed6519a203a863a060d1a8b6cfee71fddcd3563 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 15 Aug 2003 13:57:18 +0000 Subject: minor fix --- src/fluxbox.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 182e330..17e2268 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.184 2003/08/12 21:00:54 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.185 2003/08/15 13:57:18 fluxgen Exp $ #include "fluxbox.hh" @@ -1104,12 +1104,12 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { } else { WinClient *winclient = searchWindow(ce.window); BScreen *screen = searchScreen(ce.window); - - if (winclient || screen) { - for (size_t i=0; icheckClientMessage(ce, screen, winclient); - } + // note: we dont need screen nor winclient to be non-null, + // it's up to the atomhandler to check that + for (size_t i=0; icheckClientMessage(ce, screen, winclient); } + } } -- cgit v0.11.2