diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index a00d4c7..2870e51 100644 --- a/src/main.cc +++ b/src/main.cc @@ -888,7 +888,7 @@ void xcb_event_loop(x::shared_connection const& conn, } case XCB_CONFIGURE_NOTIFY: { auto e = reinterpret_cast<xcb_configure_notify_event_t*>(event.get()); - if (monmon->match(e->window)) { + if (XCB_EVENT_SENT(e) && monmon->match(e->window)) { monmon->configure(e->x, e->y, e->width, e->height); } break; |
