Move xcbutils to utils directory
This commit is contained in:
parent
e1d47b5946
commit
293b2244ac
42 changed files with 41 additions and 43 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "testutils.h"
|
||||
// KWin
|
||||
#include "client_machine.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
// Qt
|
||||
#include <QApplication>
|
||||
#include <QtTest>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
#include "testutils.h"
|
||||
// KWin
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
// Qt
|
||||
#include <QApplication>
|
||||
#include <QtTest>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
#include "testutils.h"
|
||||
// KWin
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
// Qt
|
||||
#include <QApplication>
|
||||
#include <QtTest>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
#include "testutils.h"
|
||||
// KWin
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
// Qt
|
||||
#include <QApplication>
|
||||
#include <QtTest>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#ifndef KWIN_ATOMS_H
|
||||
#define KWIN_ATOMS_H
|
||||
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#ifndef KWIN_EDGE_H
|
||||
#define KWIN_EDGE_H
|
||||
#include "screenedge.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define KWIN_EFFECTS_X11_H
|
||||
|
||||
#include "effects.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
#include <memory.h>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "scene.h"
|
||||
#include "screens.h"
|
||||
#include "utils.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
#include <QVector>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
#include "xfixes_cursor_event_filter.h"
|
||||
#include "x11cursor.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "effects.h"
|
||||
#include "screenedge.h"
|
||||
#include "screens.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
#include <KDecoration2/Decoration>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "platform.h"
|
||||
#include "sm.h"
|
||||
#include "workspace.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
#include <KConfigGroup>
|
||||
#include <KCrash>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "syncalarmx11filter.h"
|
||||
#include "workspace.h"
|
||||
#include "x11client.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
// kwin
|
||||
#include "utils.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
// KDE
|
||||
#include <NETWM>
|
||||
// Qt
|
||||
|
|
|
@ -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
3
src/utils/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
target_sources(kwin PRIVATE
|
||||
xcbutils.cpp
|
||||
)
|
|
@ -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>
|
|
@ -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"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// kwin
|
||||
#include "decorationitem.h"
|
||||
#include "abstract_client.h"
|
||||
#include "xcbutils.h"
|
||||
#include "utils/xcbutils.h"
|
||||
// Qt
|
||||
#include <QElapsedTimer>
|
||||
#include <QFlags>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue