summaryrefslogtreecommitdiff
path: root/util/epist/screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-22 08:38:51 +0000
committerDana Jansens <danakj@orodu.net>2002-07-22 08:38:51 +0000
commite8f387ea481470dd69257f0e7d4644ab1270b64a (patch)
treec2ecdcb2935f5e54a7520d0b58b906fc3bcb93c5 /util/epist/screen.cc
parent6268e2c42adc2bca464867b5a9a2e79085e9a425 (diff)
handle events on the right screen
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: