]> Dogcows Code - chaz/openbox/commitdiff
call the window's processEvent() directly instead of the screen's, since it didn...
authorDana Jansens <danakj@orodu.net>
Sat, 7 Sep 2002 07:28:36 +0000 (07:28 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 7 Sep 2002 07:28:36 +0000 (07:28 +0000)
util/epist/screen.cc

index 1705202bc319ad82f36df47b4b1cb653a73da11a..0220a9499ef7ec34676d77784686b9a89e5730d0 100644 (file)
@@ -149,7 +149,9 @@ void screen::processEvent(const XEvent &e) {
                                  DestroyNotify, &ev) ||
           XCheckTypedWindowEvent(_epist->getXDisplay(), e.xany.window,
                                  UnmapNotify, &ev)) {
-        processEvent(ev);
+
+        XWindow *win = _epist->findWindow(e.xany.window);
+        if (win) win->processEvent(ev);
       }
 
       updateClientList();
This page took 0.0233 seconds and 4 git commands to generate.