Changeset View
Changeset View
Standalone View
Standalone View
events.cpp
Show First 20 Lines • Show All 575 Lines • ▼ Show 20 Line(s) | 571 | case XCB_EXPOSE: { | |||
---|---|---|---|---|---|
576 | } | 576 | } | ||
577 | break; | 577 | break; | ||
578 | } | 578 | } | ||
579 | default: | 579 | default: | ||
580 | if (eventType == Xcb::Extensions::self()->shapeNotifyEvent() && reinterpret_cast<xcb_shape_notify_event_t*>(e)->affected_window == window()) { | 580 | if (eventType == Xcb::Extensions::self()->shapeNotifyEvent() && reinterpret_cast<xcb_shape_notify_event_t*>(e)->affected_window == window()) { | ||
581 | detectShape(window()); // workaround for #19644 | 581 | detectShape(window()); // workaround for #19644 | ||
582 | updateShape(); | 582 | updateShape(); | ||
583 | } | 583 | } | ||
584 | if (eventType == Xcb::Extensions::self()->damageNotifyEvent() && reinterpret_cast<xcb_damage_notify_event_t*>(e)->drawable == frameId()) | 584 | if (eventType == Xcb::Extensions::self()->damageNotifyEvent() && reinterpret_cast<xcb_damage_notify_event_t *>(e)->drawable == windowId()) | ||
585 | damageNotifyEvent(); | 585 | damageNotifyEvent(); | ||
586 | break; | 586 | break; | ||
587 | } | 587 | } | ||
588 | return true; // eat all events | 588 | return true; // eat all events | ||
589 | } | 589 | } | ||
590 | 590 | | |||
591 | /** | 591 | /** | ||
592 | * Handles map requests of the client window | 592 | * Handles map requests of the client window | ||
▲ Show 20 Lines • Show All 764 Lines • Show Last 20 Lines |