summaryrefslogtreecommitdiff
path: root/util/epist/screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/epist/screen.cc')
-rw-r--r--util/epist/screen.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc
index cf2c486f..ee19abb1 100644
--- a/util/epist/screen.cc
+++ b/util/epist/screen.cc
@@ -118,6 +118,7 @@ XWindow *screen::findWindow(const XEvent &e) const {
void screen::processEvent(const XEvent &e) {
assert(_managed);
+ assert(e.xany.window == _root);
switch (e.type) {
case PropertyNotify: