diff --git a/data/org_kde_kwin.categories b/data/org_kde_kwin.categories index ac3a1013d0..8828d7c17f 100644 --- a/data/org_kde_kwin.categories +++ b/data/org_kde_kwin.categories @@ -8,6 +8,7 @@ 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 diff --git a/plugins/platforms/x11/standalone/CMakeLists.txt b/plugins/platforms/x11/standalone/CMakeLists.txt index d5f842e9e1..185b7fde14 100644 --- a/plugins/platforms/x11/standalone/CMakeLists.txt +++ b/plugins/platforms/x11/standalone/CMakeLists.txt @@ -1,4 +1,5 @@ set(X11PLATFORM_SOURCES + logging.cpp x11_platform.cpp screens_xrandr.cpp ) diff --git a/plugins/platforms/x11/standalone/logging.cpp b/plugins/platforms/x11/standalone/logging.cpp new file mode 100644 index 0000000000..bad2ada20b --- /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 0000000000..399d4d264d --- /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