diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-09-07 07:28:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-09-07 07:28:36 +0000 |
| commit | 5e9f6a165c2304202d6e99993ce6deaac5d32ccc (patch) | |
| tree | 88c5fc99720694910d5101023dddc2f6ee4562a5 /util | |
| parent | 01a6d810b6b35288410ed43819a940749d92362f (diff) | |
call the window's processEvent() directly instead of the screen's, since it didn't actually do anything with the event.
Diffstat (limited to 'util')
| -rw-r--r-- | util/epist/screen.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |
