Changeset View
Changeset View
Standalone View
Standalone View
manage.cpp
Show First 20 Lines • Show All 600 Lines • ▼ Show 20 Line(s) | 308 | #endif | |||
---|---|---|---|---|---|
601 | connect(Compositor::self(), &Compositor::compositingToggled, this, | 601 | connect(Compositor::self(), &Compositor::compositingToggled, this, | ||
602 | [this](bool active) { | 602 | [this](bool active) { | ||
603 | if (active) { | 603 | if (active) { | ||
604 | return; | 604 | return; | ||
605 | } | 605 | } | ||
606 | if (opacity() == 1.0) { | 606 | if (opacity() == 1.0) { | ||
607 | return; | 607 | return; | ||
608 | } | 608 | } | ||
609 | NETWinInfo info(connection(), frameId(), rootWindow(), nullptr, nullptr); | 609 | NETWinInfo info(connection(), frameId(), rootWindow(), NET::Properties(), NET::Properties2()); | ||
610 | info.setOpacity(static_cast<unsigned long>(opacity() * 0xffffffff)); | 610 | info.setOpacity(static_cast<unsigned long>(opacity() * 0xffffffff)); | ||
611 | } | 611 | } | ||
612 | ); | 612 | ); | ||
613 | 613 | | |||
614 | // TODO: there's a small problem here - isManaged() depends on the mapping state, | 614 | // TODO: there's a small problem here - isManaged() depends on the mapping state, | ||
615 | // but this client is not yet in Workspace's client list at this point, will | 615 | // but this client is not yet in Workspace's client list at this point, will | ||
616 | // be only done in addClient() | 616 | // be only done in addClient() | ||
617 | emit clientManaging(this); | 617 | emit clientManaging(this); | ||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |