Changeset View
Changeset View
Standalone View
Standalone View
events.cpp
Show First 20 Lines • Show All 467 Lines • ▼ Show 20 Line(s) | 467 | if (dirtyProperties2.testFlag(NET::WM2Urgency)) { | |||
---|---|---|---|---|---|
468 | updateUrgency(); | 468 | updateUrgency(); | ||
469 | } | 469 | } | ||
470 | if (dirtyProperties2 & NET::WM2OpaqueRegion) { | 470 | if (dirtyProperties2 & NET::WM2OpaqueRegion) { | ||
471 | getWmOpaqueRegion(); | 471 | getWmOpaqueRegion(); | ||
472 | } | 472 | } | ||
473 | if (dirtyProperties2 & NET::WM2DesktopFileName) { | 473 | if (dirtyProperties2 & NET::WM2DesktopFileName) { | ||
474 | setDesktopFileName(QByteArray(info->desktopFileName())); | 474 | setDesktopFileName(QByteArray(info->desktopFileName())); | ||
475 | } | 475 | } | ||
476 | if (dirtyProperties2 & NET::WM2GTKFrameExtents) { | ||||
477 | setClientFrameExtents(info->gtkFrameExtents()); | ||||
478 | } | ||||
476 | } | 479 | } | ||
477 | 480 | | |||
478 | const uint8_t eventType = e->response_type & ~0x80; | 481 | const uint8_t eventType = e->response_type & ~0x80; | ||
479 | switch(eventType) { | 482 | switch(eventType) { | ||
480 | case XCB_UNMAP_NOTIFY: | 483 | case XCB_UNMAP_NOTIFY: | ||
481 | unmapNotifyEvent(reinterpret_cast<xcb_unmap_notify_event_t*>(e)); | 484 | unmapNotifyEvent(reinterpret_cast<xcb_unmap_notify_event_t*>(e)); | ||
482 | break; | 485 | break; | ||
483 | case XCB_DESTROY_NOTIFY: | 486 | case XCB_DESTROY_NOTIFY: | ||
▲ Show 20 Lines • Show All 256 Lines • ▼ Show 20 Line(s) | 738 | default: | |||
740 | else if (e->atom == atoms->activities) | 743 | else if (e->atom == atoms->activities) | ||
741 | checkActivities(); | 744 | checkActivities(); | ||
742 | else if (e->atom == atoms->kde_first_in_window_list) | 745 | else if (e->atom == atoms->kde_first_in_window_list) | ||
743 | updateFirstInTabBox(); | 746 | updateFirstInTabBox(); | ||
744 | else if (e->atom == atoms->kde_color_sheme) | 747 | else if (e->atom == atoms->kde_color_sheme) | ||
745 | updateColorScheme(); | 748 | updateColorScheme(); | ||
746 | else if (e->atom == atoms->kde_screen_edge_show) | 749 | else if (e->atom == atoms->kde_screen_edge_show) | ||
747 | updateShowOnScreenEdge(); | 750 | updateShowOnScreenEdge(); | ||
748 | else if (e->atom == atoms->gtk_frame_extents) | | |||
749 | detectGtkFrameExtents(); | | |||
750 | else if (e->atom == atoms->kde_net_wm_appmenu_service_name) | 751 | else if (e->atom == atoms->kde_net_wm_appmenu_service_name) | ||
751 | checkApplicationMenuServiceName(); | 752 | checkApplicationMenuServiceName(); | ||
752 | else if (e->atom == atoms->kde_net_wm_appmenu_object_path) | 753 | else if (e->atom == atoms->kde_net_wm_appmenu_object_path) | ||
753 | checkApplicationMenuObjectPath(); | 754 | checkApplicationMenuObjectPath(); | ||
754 | break; | 755 | break; | ||
755 | } | 756 | } | ||
756 | } | 757 | } | ||
757 | 758 | | |||
▲ Show 20 Lines • Show All 588 Lines • Show Last 20 Lines |