Changeset View
Changeset View
Standalone View
Standalone View
composite.h
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
97 | } | 97 | } | ||
98 | 98 | | |||
99 | /** | 99 | /** | ||
100 | * @brief Static check to test whether the Compositor is available and active. | 100 | * @brief Static check to test whether the Compositor is available and active. | ||
101 | * | 101 | * | ||
102 | * @return bool @c true if there is a Compositor and it is active, @c false otherwise | 102 | * @return bool @c true if there is a Compositor and it is active, @c false otherwise | ||
103 | */ | 103 | */ | ||
104 | static bool compositing() { | 104 | static bool compositing() { | ||
105 | return s_compositor != NULL && s_compositor->isActive(); | 105 | return s_compositor != nullptr && s_compositor->isActive(); | ||
106 | } | 106 | } | ||
107 | 107 | | |||
108 | // for delayed supportproperty management of effects | 108 | // for delayed supportproperty management of effects | ||
109 | void keepSupportProperty(xcb_atom_t atom); | 109 | void keepSupportProperty(xcb_atom_t atom); | ||
110 | void removeSupportProperty(xcb_atom_t atom); | 110 | void removeSupportProperty(xcb_atom_t atom); | ||
111 | 111 | | |||
112 | Q_SIGNALS: | 112 | Q_SIGNALS: | ||
113 | void compositingToggled(bool active); | 113 | void compositingToggled(bool active); | ||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |