From: Dana Jansens Date: Sat, 7 Sep 2002 07:28:36 +0000 (+0000) Subject: call the window's processEvent() directly instead of the screen's, since it didn... X-Git-Tag: openbox-2_1_0~16 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5e9f6a165c2304202d6e99993ce6deaac5d32ccc;p=dana%2Fopenbox.git call the window's processEvent() directly instead of the screen's, since it didn't actually do anything with the event. --- diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 1705202b..0220a949 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -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();