Move xcbutils to utils directory

This commit is contained in:
Vlad Zahorodnii 2022-01-13 15:54:03 +02:00
parent e1d47b5946
commit 293b2244ac
42 changed files with 41 additions and 43 deletions

View file

@ -17,7 +17,7 @@
#include "screens.h"
#include "wayland_server.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <kwineffects.h>
#include <QDBusConnection>

View file

@ -15,7 +15,7 @@
#include "screens.h"
#include "wayland_server.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <KWayland/Client/connection_thread.h>
#include <KWayland/Client/compositor.h>

View file

@ -17,7 +17,7 @@
#include "screens.h"
#include "wayland_server.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <kwineffects.h>
#include <netwm.h>

View file

@ -15,7 +15,7 @@
#include "pluginmanager.h"
#include "wayland_server.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "xwl/xwayland.h"
#include <KPluginMetaData>

View file

@ -9,7 +9,7 @@
#include "testutils.h"
// KWin
#include "client_machine.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QApplication>
#include <QtTest>

View file

@ -8,7 +8,7 @@
*/
#include "testutils.h"
// KWin
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QApplication>
#include <QtTest>

View file

@ -8,7 +8,7 @@
*/
#include "testutils.h"
// KWin
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QApplication>
#include <QtTest>

View file

@ -8,7 +8,7 @@
*/
#include "testutils.h"
// KWin
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QApplication>
#include <QtTest>

View file

@ -151,7 +151,6 @@ target_sources(kwin PRIVATE
x11client.cpp
x11eventfilter.cpp
x11syncmanager.cpp
xcbutils.cpp
xcursortheme.cpp
xdgactivationv1.cpp
xdgshellclient.cpp
@ -239,6 +238,7 @@ target_sources(kwin PRIVATE
add_subdirectory(backends)
add_subdirectory(scenes)
add_subdirectory(utils)
if (KWIN_BUILD_CMS)
target_sources(kwin PRIVATE

View file

@ -12,7 +12,7 @@
#ifndef KWIN_ATOMS_H
#define KWIN_ATOMS_H
#include "xcbutils.h"
#include "utils/xcbutils.h"
namespace KWin
{

View file

@ -14,7 +14,7 @@
#include "options.h"
#include "overlaywindow.h"
#include "platform.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QLoggingCategory>
#include <QDebug>

View file

@ -18,7 +18,7 @@
#ifndef KWIN_EDGE_H
#define KWIN_EDGE_H
#include "screenedge.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
namespace KWin
{

View file

@ -11,7 +11,7 @@
#define KWIN_EFFECTS_X11_H
#include "effects.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <memory.h>

View file

@ -29,7 +29,7 @@
#include "scene.h"
#include "screens.h"
#include "surfaceitem_x11.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// kwin libs
#include <kwinglplatform.h>
#include <kwinglutils.h>

View file

@ -9,7 +9,7 @@
#ifndef KWIN_NON_COMPOSITED_OUTLINE_H
#define KWIN_NON_COMPOSITED_OUTLINE_H
#include "outline.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
namespace KWin
{

View file

@ -14,7 +14,7 @@
#include "scene.h"
#include "screens.h"
#include "utils.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <QVector>

View file

@ -13,7 +13,7 @@
#include "cursor.h"
#include "unmanaged.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// XLib
#include <X11/cursorfont.h>
#include <X11/Xutil.h>

View file

@ -31,7 +31,7 @@
#include "non_composited_outline.h"
#include "workspace.h"
#include "x11_output.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "renderloop.h"
#include <kwinxrenderutils.h>

View file

@ -10,7 +10,7 @@
#include "input.h"
#include "keyboard_input.h"
#include "utils.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "xfixes_cursor_event_filter.h"
#include <QAbstractEventDispatcher>

View file

@ -8,7 +8,7 @@
*/
#include "xfixes_cursor_event_filter.h"
#include "x11cursor.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
namespace KWin
{

View file

@ -12,7 +12,7 @@
#include "scene_qpainter_x11_backend.h"
#include "logging.h"
#include "wayland_server.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "egl_x11_backend.h"
#include "screens.h"
#include "session.h"

View file

@ -32,7 +32,7 @@
#include "wayland_server.h"
#include "workspace.h"
#include "x11syncmanager.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <kwinglplatform.h>
#include <kwingltexture.h>

View file

@ -14,7 +14,7 @@
#include "main.h"
#include "platform.h"
#include "utils.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "abstract_output.h"
#include "composite.h"
#include "scene.h"

View file

@ -46,8 +46,8 @@
#include <Plasma/Theme>
#include "composite.h"
#include "xcbutils.h"
#include "platform.h"
#include "utils/xcbutils.h"
#include "waylandclient.h"
#include "wayland_server.h"

View file

@ -30,7 +30,7 @@
#include "effects.h"
#include "screenedge.h"
#include "screens.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <KDecoration2/Decoration>

View file

@ -24,9 +24,9 @@
#include "screens.h"
#include "screenlockerwatcher.h"
#include "sm.h"
#include "utils/xcbutils.h"
#include "workspace.h"
#include "x11eventfilter.h"
#include "xcbutils.h"
#include <kwineffects.h>

View file

@ -15,7 +15,7 @@
#include "platform.h"
#include "sm.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <KConfigGroup>
#include <KCrash>

View file

@ -9,12 +9,8 @@
*/
#include "lanczosfilter.h"
#include "x11client.h"
#include "deleted.h"
#include "effects.h"
#include "unmanaged.h"
#include "options.h"
#include "utils.h"
#include "workspace.h"
#include <kwinglutils.h>

View file

@ -10,7 +10,7 @@
#include "syncalarmx11filter.h"
#include "workspace.h"
#include "x11client.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
namespace KWin
{

View file

@ -36,7 +36,7 @@
#include "unmanaged.h"
#include "virtualdesktops.h"
#include "workspace.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QAction>
#include <QKeyEvent>

View file

@ -11,7 +11,7 @@
#include "tabboxhandler.h"
#include <config-kwin.h>
#include <kwinglobals.h>
#include "xcbutils.h"
#include "utils/xcbutils.h"
// tabbox
#include "clientmodel.h"
#include "desktopmodel.h"

View file

@ -12,7 +12,7 @@
// kwin
#include "utils.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// KDE
#include <NETWM>
// Qt

View file

@ -14,7 +14,6 @@
#include "deleted.h"
#include "surfaceitem_x11.h"
#include "utils.h"
#include "xcbutils.h"
#include <QDebug>
#include <QTimer>

3
src/utils/CMakeLists.txt Normal file
View file

@ -0,0 +1,3 @@
target_sources(kwin PRIVATE
xcbutils.cpp
)

View file

@ -7,7 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "utils.h"
// Qt
#include <QDebug>

View file

@ -49,7 +49,7 @@
#include "virtualdesktops.h"
#include "was_user_interaction_x11_filter.h"
#include "wayland_server.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include "main.h"
#include "decorations/decorationbridge.h"
#include "xwaylandclient.h"

View file

@ -13,7 +13,7 @@
// kwin
#include "decorationitem.h"
#include "abstract_client.h"
#include "xcbutils.h"
#include "utils/xcbutils.h"
// Qt
#include <QElapsedTimer>
#include <QFlags>

View file

@ -12,9 +12,9 @@
#include "transfer.h"
#include "atoms.h"
#include "utils/xcbutils.h"
#include "workspace.h"
#include "x11client.h"
#include "xcbutils.h"
#include <xcb/xcb_event.h>
#include <xcb/xfixes.h>

View file

@ -19,8 +19,8 @@
#include "options.h"
#include "utils.h"
#include "platform.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"
#include "xcbutils.h"
#include "xwayland_logging.h"
#include "xwaylandsocket.h"

View file

@ -3,7 +3,7 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <QApplication>
#include <QHBoxLayout>

View file

@ -3,7 +3,7 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include "xcbutils.h"
#include "utils/xcbutils.h"
#include <QApplication>
#include <QDebug>