Drop some unused kwineffects.h includes

This commit is contained in:
Vlad Zahorodnii 2023-11-15 10:28:19 +02:00
parent d13b53c366
commit a5546f1450
24 changed files with 23 additions and 18 deletions

View file

@ -10,7 +10,6 @@
#include "activities.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"

View file

@ -11,7 +11,6 @@
#include "core/output.h"
#include "cursor.h"
#include "internalwindow.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "touch_input.h"
#include "wayland_server.h"

View file

@ -9,7 +9,6 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"

View file

@ -9,7 +9,6 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland/seat.h"
#include "wayland_server.h"

View file

@ -9,7 +9,6 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland/seat.h"
#include "wayland_server.h"

View file

@ -9,7 +9,6 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland_server.h"
#include "workspace.h"

View file

@ -9,7 +9,6 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "screenedge.h"
#include "virtualdesktops.h"

View file

@ -9,7 +9,6 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland/seat.h"
#include "wayland/surface.h"

View file

@ -11,7 +11,7 @@
// config
#include <config-kwin.h>
// KWin
#include "libkwineffects/kwineffects.h"
#include "libkwineffects/effect.h"
#include "plugin.h"
#include "scripting/scriptedeffect.h"
#include "scripting/scriptedquicksceneeffect.h"

View file

@ -7,9 +7,11 @@
#pragma once
#include "libkwineffects/kwineffects.h" // FIXME: move infiniteRegion() elsewhere
#include "libkwineffects/kwinoffscreenquickview.h"
#include <QFont>
#include <QIcon>
namespace KWin
{

View file

@ -9,7 +9,7 @@
#pragma once
#include "libkwineffects/kwineffects.h"
#include "kwin_export.h"
#include <QObject>
#include <QRect>

View file

@ -6,6 +6,7 @@
#include "libkwineffects/kwinquickeffect.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "logging_p.h"

View file

@ -10,7 +10,6 @@
*/
#include "gltexture_p.h"
#include "libkwineffects/kwineffects.h"
#include "opengl/glplatform.h"
#include "opengl/glutils.h"
#include "opengl/glutils_funcs.h"

View file

@ -6,7 +6,6 @@
#include "aurorae.h"
#include "config-kwin.h"
#include "libkwineffects/kwineffects.h"
#include "auroraeshared.h"
#include "auroraetheme.h"

View file

@ -6,6 +6,7 @@
#include "outputlocator.h"
#include "core/output.h"
#include "libkwineffects/kwineffects.h"
#include "libkwineffects/kwinoffscreenquickview.h"
#include <algorithm>

View file

@ -5,6 +5,7 @@
*/
#include "overvieweffect.h"
#include "libkwineffects/kwineffects.h"
#include "overviewconfig.h"
#include <KGlobalAccel>

View file

@ -12,6 +12,8 @@
namespace KWin
{
class VirtualDesktop;
class OverviewEffect : public QuickSceneEffect
{
Q_OBJECT

View file

@ -5,7 +5,8 @@
*/
#include "expoarea.h"
#include "core/output.h"
#include "virtualdesktops.h"
#include "workspace.h"
namespace KWin
{
@ -62,7 +63,7 @@ void ExpoArea::update()
}
const QRectF oldRect = m_rect;
m_rect = effects->clientArea(MaximizeArea, m_screen, effects->currentDesktop());
m_rect = workspace()->clientArea(MaximizeArea, m_screen, VirtualDesktopManager::self()->currentDesktop());
// Map the area to the output local coordinates.
m_rect.translate(-m_screen->geometry().topLeft());

View file

@ -6,7 +6,7 @@
#pragma once
#include "libkwineffects/kwineffects.h"
#include "core/output.h"
namespace KWin
{

View file

@ -12,8 +12,6 @@
#include "core/renderloop.h"
#include "core/rendertarget.h"
#include "core/renderviewport.h"
#include "effects.h"
#include "libkwineffects/kwineffects.h"
#include "opengl/gltexture.h"
#include "opengl/glutils.h"
#include "scene/itemrenderer.h"

View file

@ -4,6 +4,7 @@
*/
#include "tileseditoreffect.h"
#include "libkwineffects/kwineffects.h"
#include <QAction>
#include <QQuickItem>

View file

@ -8,6 +8,8 @@
#include "libkwineffects/kwinquickeffect.h"
#include <QAction>
namespace KWin
{

View file

@ -5,6 +5,7 @@
*/
#include "windowvieweffect.h"
#include "libkwineffects/kwineffects.h"
#include "windowview1adaptor.h"
#include "windowviewconfig.h"

View file

@ -9,8 +9,13 @@
*/
#pragma once
#include "libkwineffects/kwineffects.h"
#include "kwin_export.h"
#include <QImage>
#include <QObject>
#include <QRectF>
#include <xcb/xcb.h>
namespace KDecoration2
{