Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d0ceaf4c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[effects/slide] Clean up

Summary:
* Reorder and sort includes
* Use EffectWindowList
* Fix namespace comments

(this change doesn't add any useful features or bug fixes)

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13979
parent c69a16b9
......@@ -20,15 +20,17 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************/
// KWayland
#include <KWayland/Server/surface_interface.h>
#include <KWayland/Server/blur_interface.h>
#include <KWayland/Server/contrast_interface.h>
// own
#include "slide.h"
// KConfigSkeleton
#include "slideconfig.h"
// KWayland
#include <KWayland/Server/blur_interface.h>
#include <KWayland/Server/contrast_interface.h>
#include <KWayland/Server/surface_interface.h>
namespace KWin
{
......@@ -540,4 +542,4 @@ void SlideEffect::numberScreensChanged()
stop();
}
} // namespace
} // namespace KWin
......@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef KWIN_SLIDE_H
#define KWIN_SLIDE_H
// KDE
// kwineffects
#include <kwineffects.h>
namespace KWin
......@@ -112,11 +112,11 @@ private:
} m_paintCtx;
struct {
QList<EffectWindow*> blur;
QList<EffectWindow*> backgroundContrast;
EffectWindowList blur;
EffectWindowList backgroundContrast;
} m_forcedRoles;
QList<EffectWindow*> m_elevatedWindows;
EffectWindowList m_elevatedWindows;
};
inline int SlideEffect::duration() const
......@@ -144,6 +144,6 @@ inline bool SlideEffect::slideBackground() const
return m_slideBackground;
}
} // namespace
} // namespace KWin
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment