From 19230e6927686b7fa5cdaf702b800f1d03a90479 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Mon, 4 Aug 2003 18:16:22 +0000
Subject: minor fix

---
 src/fluxbox.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 8eb6995..342338c 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.177 2003/07/28 20:10:05 fluxgen Exp $
+// $Id: fluxbox.cc,v 1.178 2003/08/04 18:16:22 fluxgen Exp $
 
 #include "fluxbox.hh"
 
@@ -1122,9 +1122,9 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) {
         WinClient *winclient = searchWindow(ce.window);
         BScreen *screen = searchScreen(ce.window);
 
-        if (winclient && screen) {
+        if (winclient || screen) {            
             for (size_t i=0; i<m_atomhandler.size(); ++i) {
-                m_atomhandler[i]->checkClientMessage(ce, screen, winclient);
+                 m_atomhandler[i]->checkClientMessage(ce, screen, winclient);
             }
         }
     }
-- 
cgit v0.11.2