diff --git a/data/org_kde_kwin.categories b/data/org_kde_kwin.categories index ac3a1013d..8828d7c17 100644 --- a/data/org_kde_kwin.categories +++ b/data/org_kde_kwin.categories @@ -1,16 +1,17 @@ kwin_core KWin Core kwineffects KWin Effects libkwineffects KWin Effects Library libkwinglutils KWin OpenGL utility Library libkwinxrenderutils KWin XRender utility Library kwin_wayland_drm KWin Wayland (DRM backend) kwin_wayland_framebuffer KWin Wayland (Framebuffer backend) kwin_wayland_hwcomposer KWin Wayland (hwcomposer backend) kwin_wayland_backend KWin Wayland (Wayland backend) kwin_wayland_x11windowed KWin Wayland (X11 backend) +kwin_platform_x11_standalone KWin X11 Standalone Platform kwin_libinput KWin Libinput Integration kwin_tabbox KWin Window Switcher kwin_decorations KWin Decorations kwin_scripting KWin Scripting aurorae KWin Aurorae Window Decoration Engine kwin_xkbcommon KWin xkbcommon integration diff --git a/plugins/platforms/x11/standalone/CMakeLists.txt b/plugins/platforms/x11/standalone/CMakeLists.txt index d5f842e9e..185b7fde1 100644 --- a/plugins/platforms/x11/standalone/CMakeLists.txt +++ b/plugins/platforms/x11/standalone/CMakeLists.txt @@ -1,14 +1,15 @@ set(X11PLATFORM_SOURCES + logging.cpp x11_platform.cpp screens_xrandr.cpp ) add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) target_link_libraries(KWinX11Platform kwin Qt5::X11Extras) install( TARGETS KWinX11Platform DESTINATION ${PLUGIN_INSTALL_DIR}/org.kde.kwin.platforms/ ) diff --git a/plugins/platforms/x11/standalone/logging.cpp b/plugins/platforms/x11/standalone/logging.cpp new file mode 100644 index 000000000..bad2ada20 --- /dev/null +++ b/plugins/platforms/x11/standalone/logging.cpp @@ -0,0 +1,21 @@ +/******************************************************************** + KWin - the KDE window manager + This file is part of the KDE project. + +Copyright (C) 2016 Martin Gräßlin + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*********************************************************************/ +#include "logging.h" +Q_LOGGING_CATEGORY(KWIN_X11STANDALONE, "kwin_platform_x11_standalone", QtCriticalMsg) diff --git a/plugins/platforms/x11/standalone/logging.h b/plugins/platforms/x11/standalone/logging.h new file mode 100644 index 000000000..399d4d264 --- /dev/null +++ b/plugins/platforms/x11/standalone/logging.h @@ -0,0 +1,26 @@ +/******************************************************************** + KWin - the KDE window manager + This file is part of the KDE project. + +Copyright (C) 2016 Martin Gräßlin + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*********************************************************************/ +#ifndef KWIN_X11_LOGGING_H +#define KWIN_X11_LOGGING_H +#include +#include + +Q_DECLARE_LOGGING_CATEGORY(KWIN_X11STANDALONE) +#endif