Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/x11_platform.cpp
Show All 28 Lines | |||||
29 | #if HAVE_X11_XINPUT | 29 | #if HAVE_X11_XINPUT | ||
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 | 38 | | |||
38 | #include <KConfigGroup> | 39 | #include <KConfigGroup> | ||
39 | #include <KLocalizedString> | 40 | #include <KLocalizedString> | ||
40 | 41 | | |||
41 | #include <QThread> | 42 | #include <QThread> | ||
42 | #include <QOpenGLContext> | 43 | #include <QOpenGLContext> | ||
43 | #include <QX11Info> | 44 | #include <QX11Info> | ||
44 | 45 | | |||
▲ Show 20 Lines • Show All 259 Lines • ▼ Show 20 Line(s) | 303 | connect(action, &QAction::triggered, kwinApp(), [action] { | |||
304 | bool ok = false; | 305 | bool ok = false; | ||
305 | const quint32 t = timestamp.toULongLong(&ok); | 306 | const quint32 t = timestamp.toULongLong(&ok); | ||
306 | if (ok) { | 307 | if (ok) { | ||
307 | kwinApp()->setX11Time(t); | 308 | kwinApp()->setX11Time(t); | ||
308 | } | 309 | } | ||
309 | }); | 310 | }); | ||
310 | } | 311 | } | ||
311 | 312 | | |||
313 | OverlayWindow *X11StandalonePlatform::createOverlayWindow() | ||||
314 | { | ||||
315 | return new OverlayWindowX11(); | ||||
316 | } | ||||
317 | | ||||
312 | } | 318 | } |