Drop some unused kwineffects.h includes
This commit is contained in:
parent
d13b53c366
commit
a5546f1450
24 changed files with 23 additions and 18 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -7,9 +7,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "libkwineffects/kwineffects.h" // FIXME: move infiniteRegion() elsewhere
|
||||
#include "libkwineffects/kwinoffscreenquickview.h"
|
||||
|
||||
#include <QFont>
|
||||
#include <QIcon>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
#include "kwin_export.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QRect>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "libkwineffects/kwinquickeffect.h"
|
||||
#include "core/output.h"
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
|
||||
#include "logging_p.h"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "aurorae.h"
|
||||
|
||||
#include "config-kwin.h"
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
|
||||
#include "auroraeshared.h"
|
||||
#include "auroraetheme.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "outputlocator.h"
|
||||
#include "core/output.h"
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
#include "libkwineffects/kwinoffscreenquickview.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include "overvieweffect.h"
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
#include "overviewconfig.h"
|
||||
|
||||
#include <KGlobalAccel>
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
namespace KWin
|
||||
{
|
||||
|
||||
class VirtualDesktop;
|
||||
|
||||
class OverviewEffect : public QuickSceneEffect
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
#include "core/output.h"
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include "tileseditoreffect.h"
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QQuickItem>
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "libkwineffects/kwinquickeffect.h"
|
||||
|
||||
#include <QAction>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include "windowvieweffect.h"
|
||||
#include "libkwineffects/kwineffects.h"
|
||||
#include "windowview1adaptor.h"
|
||||
#include "windowviewconfig.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue