diff --git a/events.cpp b/events.cpp index 3cab63cef8..c7f2510044 100644 --- a/events.cpp +++ b/events.cpp @@ -254,7 +254,7 @@ bool Workspace::workspaceEvent(xcb_generic_event_t *e) } else { // We want to pass root window property events to effects if (eventType == XCB_PROPERTY_NOTIFY) { - auto event = reinterpret_cast(e); + auto *event = reinterpret_cast(e); if (event->window == rootWindow()) { emit propertyNotify(event->atom); }