Changeset View
Changeset View
Standalone View
Standalone View
events.cpp
Show First 20 Lines • Show All 438 Lines • ▼ Show 20 Line(s) | 416 | if (findEventWindow(e) == window()) { // avoid doing stuff on frame or wrapper | |||
---|---|---|---|---|---|
439 | if ((dirtyProperties2 & NET::WM2StartupId) != 0) | 439 | if ((dirtyProperties2 & NET::WM2StartupId) != 0) | ||
440 | startupIdChanged(); | 440 | startupIdChanged(); | ||
441 | if (dirtyProperties2 & NET::WM2Opacity) { | 441 | if (dirtyProperties2 & NET::WM2Opacity) { | ||
442 | if (compositing()) { | 442 | if (compositing()) { | ||
443 | addRepaintFull(); | 443 | addRepaintFull(); | ||
444 | emit opacityChanged(this, old_opacity); | 444 | emit opacityChanged(this, old_opacity); | ||
445 | } else { | 445 | } else { | ||
446 | // forward to the frame if there's possibly another compositing manager running | 446 | // forward to the frame if there's possibly another compositing manager running | ||
447 | NETWinInfo i(connection(), frameId(), rootWindow(), nullptr, nullptr); | 447 | NETWinInfo i(connection(), frameId(), rootWindow(), NET::Properties(), NET::Properties2()); | ||
448 | i.setOpacity(info->opacity()); | 448 | i.setOpacity(info->opacity()); | ||
449 | } | 449 | } | ||
450 | } | 450 | } | ||
451 | if (dirtyProperties2 & NET::WM2FrameOverlap) { | 451 | if (dirtyProperties2 & NET::WM2FrameOverlap) { | ||
452 | // ### Inform the decoration | 452 | // ### Inform the decoration | ||
453 | } | 453 | } | ||
454 | if (dirtyProperties2.testFlag(NET::WM2WindowRole)) { | 454 | if (dirtyProperties2.testFlag(NET::WM2WindowRole)) { | ||
455 | emit windowRoleChanged(); | 455 | emit windowRoleChanged(); | ||
▲ Show 20 Lines • Show All 890 Lines • Show Last 20 Lines |