Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/x11_platform.cpp
Show All 29 Lines | |||||
30 | #include "xinputintegration.h" | 30 | #include "xinputintegration.h" | ||
31 | #endif | 31 | #endif | ||
32 | #include "eglonxbackend.h" | 32 | #include "eglonxbackend.h" | ||
33 | #include "keyboard_input.h" | 33 | #include "keyboard_input.h" | ||
34 | #include "logging.h" | 34 | #include "logging.h" | ||
35 | #include "screens_xrandr.h" | 35 | #include "screens_xrandr.h" | ||
36 | #include "options.h" | 36 | #include "options.h" | ||
37 | #include "overlaywindow_x11.h" | 37 | #include "overlaywindow_x11.h" | ||
38 | #include "x11_decoration_renderer.h" | ||||
38 | 39 | | |||
39 | #include <KConfigGroup> | 40 | #include <KConfigGroup> | ||
40 | #include <KLocalizedString> | 41 | #include <KLocalizedString> | ||
41 | 42 | | |||
42 | #include <QThread> | 43 | #include <QThread> | ||
43 | #include <QOpenGLContext> | 44 | #include <QOpenGLContext> | ||
44 | #include <QX11Info> | 45 | #include <QX11Info> | ||
45 | 46 | | |||
▲ Show 20 Lines • Show All 264 Lines • ▼ Show 20 Line(s) | 303 | { | |||
310 | }); | 311 | }); | ||
311 | } | 312 | } | ||
312 | 313 | | |||
313 | OverlayWindow *X11StandalonePlatform::createOverlayWindow() | 314 | OverlayWindow *X11StandalonePlatform::createOverlayWindow() | ||
314 | { | 315 | { | ||
315 | return new OverlayWindowX11(); | 316 | return new OverlayWindowX11(); | ||
316 | } | 317 | } | ||
317 | 318 | | |||
319 | Decoration::Renderer *X11StandalonePlatform::createDecorationRenderer(Decoration::DecoratedClientImpl *client) | ||||
320 | { | ||||
321 | auto renderer = Platform::createDecorationRenderer(client); | ||||
322 | if (!renderer) { | ||||
323 | renderer = new Decoration::X11Renderer(client); | ||||
324 | } | ||||
325 | return renderer; | ||||
326 | } | ||||
327 | | ||||
318 | } | 328 | } |