summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/epist/screen.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc
index 1086ce4a..cf2c486f 100644
--- a/util/epist/screen.cc
+++ b/util/epist/screen.cc
@@ -118,13 +118,6 @@ XWindow *screen::findWindow(const XEvent &e) const {
void screen::processEvent(const XEvent &e) {
assert(_managed);
- assert(e.xany.window == _root);
-
- XWindow *window = 0;
- if (e.xany.window != _root) {
- window = findWindow(e); // find the window
- assert(window); // we caught an event for a window we don't know about!?
- }
switch (e.type) {
case PropertyNotify: