This commit is contained in:
Martin Gräßlin 2013-08-13 11:23:39 +02:00
parent 7c5e970e26
commit 9c225200bf

View file

@ -254,7 +254,7 @@ bool Workspace::workspaceEvent(xcb_generic_event_t *e)
} else { } else {
// We want to pass root window property events to effects // We want to pass root window property events to effects
if (eventType == XCB_PROPERTY_NOTIFY) { if (eventType == XCB_PROPERTY_NOTIFY) {
auto event = reinterpret_cast<xcb_property_notify_event_t*>(e); auto *event = reinterpret_cast<xcb_property_notify_event_t*>(e);
if (event->window == rootWindow()) { if (event->window == rootWindow()) {
emit propertyNotify(event->atom); emit propertyNotify(event->atom);
} }