Changeset View
Changeset View
Standalone View
Standalone View
events.cpp
Show First 20 Lines • Show All 645 Lines • ▼ Show 20 Line(s) | 644 | if (dirtyProperties2.testFlag(NET::WM2GroupLeader)) { | |||
---|---|---|---|---|---|
646 | updateAllowedActions(); // Group affects isMinimizable() | 646 | updateAllowedActions(); // Group affects isMinimizable() | ||
647 | } | 647 | } | ||
648 | if (dirtyProperties2.testFlag(NET::WM2Urgency)) { | 648 | if (dirtyProperties2.testFlag(NET::WM2Urgency)) { | ||
649 | updateUrgency(); | 649 | updateUrgency(); | ||
650 | } | 650 | } | ||
651 | if (dirtyProperties2 & NET::WM2OpaqueRegion) { | 651 | if (dirtyProperties2 & NET::WM2OpaqueRegion) { | ||
652 | getWmOpaqueRegion(); | 652 | getWmOpaqueRegion(); | ||
653 | } | 653 | } | ||
654 | if (dirtyProperties2 & NET::WM2DesktopFileName) { | ||||
655 | setDesktopFileName(QByteArray(info->desktopFileName())); | ||||
656 | } | ||||
654 | } | 657 | } | ||
655 | 658 | | |||
656 | const uint8_t eventType = e->response_type & ~0x80; | 659 | const uint8_t eventType = e->response_type & ~0x80; | ||
657 | switch(eventType) { | 660 | switch(eventType) { | ||
658 | case XCB_UNMAP_NOTIFY: | 661 | case XCB_UNMAP_NOTIFY: | ||
659 | unmapNotifyEvent(reinterpret_cast<xcb_unmap_notify_event_t*>(e)); | 662 | unmapNotifyEvent(reinterpret_cast<xcb_unmap_notify_event_t*>(e)); | ||
660 | break; | 663 | break; | ||
661 | case XCB_DESTROY_NOTIFY: | 664 | case XCB_DESTROY_NOTIFY: | ||
▲ Show 20 Lines • Show All 879 Lines • Show Last 20 Lines |