From e378cb6dbac6bae6864650bde4f6b1e289a52cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 26 Jul 2013 10:10:49 +0200 Subject: [PATCH] Enable configure notify event handling --- events.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/events.cpp b/events.cpp index 1cd1517d07..e6e19b3b18 100644 --- a/events.cpp +++ b/events.cpp @@ -162,13 +162,13 @@ bool Workspace::workspaceEvent(xcb_generic_event_t *e) } #endif break; -#if KWIN_QT5_PORTING - case ConfigureNotify: - if (e->xconfigure.event == rootWindow()) + case XCB_CONFIGURE_NOTIFY: + if (reinterpret_cast(e)->event == rootWindow()) x_stacking_dirty = true; break; }; +#if KWIN_QT5_PORTING if (Client* c = findClient(WindowMatchPredicate(e->xany.window))) { if (c->windowEvent(e)) return true; @@ -366,8 +366,8 @@ bool Workspace::workspaceEvent(xcb_generic_event_t *e) Cursor::self()->notifyCursorChanged(reinterpret_cast(e)->cursor_serial); } break; -#endif } +#endif return false; }