KWin
|
#include <kwin_wayland_test.h>
Public Member Functions | |
WaylandTestApplication (OperationMode mode, int &argc, char **argv) | |
~WaylandTestApplication () override | |
void | setInputMethodServerToStart (const QString &inputMethodServer) |
Test::VirtualInputDevice * | virtualPointer () const |
Test::VirtualInputDevice * | virtualKeyboard () const |
Test::VirtualInputDevice * | virtualTouch () const |
XwaylandInterface * | xwayland () const override |
![]() | |
~Application () override | |
void | setConfigLock (bool lock) |
KSharedConfigPtr | config () const |
void | setConfig (KSharedConfigPtr config) |
KSharedConfigPtr | kxkbConfig () const |
void | setKxkbConfig (KSharedConfigPtr config) |
KSharedConfigPtr | inputConfig () const |
void | setInputConfig (KSharedConfigPtr config) |
void | start () |
OperationMode | operationMode () const |
The operation mode used by KWin. | |
void | setOperationMode (OperationMode mode) |
bool | shouldUseWaylandForCompositing () const |
void | setupCommandLine (QCommandLineParser *parser) |
void | processCommandLine (QCommandLineParser *parser) |
void | registerEventFilter (X11EventFilter *filter) |
void | unregisterEventFilter (X11EventFilter *filter) |
bool | dispatchEvent (xcb_generic_event_t *event) |
xcb_timestamp_t | x11Time () const |
void | setX11Time (xcb_timestamp_t timestamp, TimestampUpdate force=TimestampUpdate::OnlyIfLarger) |
void | updateXTime () |
void | updateX11Time (xcb_generic_event_t *event) |
void | resetCrashesCount () |
xcb_window_t | x11RootWindow () const |
xcb_window_t | x11CompositeWindow () const |
xcb_connection_t * | x11Connection () const |
void | setX11RootWindow (xcb_window_t root) |
void | setX11Connection (xcb_connection_t *c) |
void | setX11CompositeWindow (xcb_window_t window) |
qreal | xwaylandScale () const |
void | setXwaylandScale (qreal scale) |
QProcessEnvironment | processStartupEnvironment () const |
void | setProcessStartupEnvironment (const QProcessEnvironment &environment) |
OutputBackend * | outputBackend () const |
void | setOutputBackend (std::unique_ptr< OutputBackend > &&backend) |
Session * | session () const |
void | setSession (std::unique_ptr< Session > &&session) |
void | setFollowLocale1 (bool follow) |
bool | followLocale1 () const |
bool | isTerminating () const |
void | installNativeX11EventFilter () |
void | removeNativeX11EventFilter () |
void | createAtoms () |
void | destroyAtoms () |
virtual std::unique_ptr< Edge > | createScreenEdge (ScreenEdges *parent) |
virtual std::unique_ptr< Cursor > | createPlatformCursor () |
virtual std::unique_ptr< OutlineVisual > | createOutline (Outline *outline) |
virtual void | createEffectsHandler (Compositor *compositor, WorkspaceScene *scene) |
PluginManager * | pluginManager () const |
InputMethod * | inputMethod () const |
ColorManager * | colorManager () const |
TabletModeManager * | tabletModeManager () const |
virtual void | startInteractiveWindowSelection (std::function< void(KWin::Window *)> callback, const QByteArray &cursorName=QByteArray()) |
virtual void | startInteractivePositionSelection (std::function< void(const QPointF &)> callback) |
virtual PlatformCursorImage | cursorImage () const |
Protected Member Functions | |
void | performStartup () override |
![]() | |
Application (OperationMode mode, int &argc, char **argv) | |
void | notifyKSplash () |
void | notifyStarted () |
void | createInput () |
void | createWorkspace () |
void | createOptions () |
void | createPlugins () |
void | createColorManager () |
void | createInputMethod () |
void | createTabletModeManager () |
void | destroyInput () |
void | destroyWorkspace () |
void | destroyCompositor () |
void | destroyPlugins () |
void | destroyColorManager () |
void | destroyInputMethod () |
void | destroyPlatform () |
void | applyXwaylandScale () |
void | setTerminating () |
Additional Inherited Members | |
![]() | |
enum | OperationMode { OperationModeX11 , OperationModeWaylandOnly , OperationModeXwayland } |
This enum provides the various operation modes of KWin depending on the available Windowing Systems at startup. For example whether KWin only talks to X11 or also to a Wayland Compositor. More... | |
enum class | TimestampUpdate { OnlyIfLarger , Always } |
![]() | |
void | x11ConnectionChanged () |
void | x11ConnectionAboutToBeDestroyed () |
void | xwaylandScaleChanged () |
void | workspaceCreated () |
void | virtualTerminalCreated () |
void | started () |
![]() | |
static void | setCrashCount (int count) |
static bool | wasCrash () |
static void | createAboutData () |
static void | setupMalloc () |
static void | setupLocalizedString () |
![]() | |
static int | crashes = 0 |
![]() | |
quint32 | x11Time |
quint32 | x11RootWindow |
void * | x11Connection |
KSharedConfigPtr | config |
KSharedConfigPtr | kxkbConfig |
Definition at line 81 of file kwin_wayland_test.h.
KWin::WaylandTestApplication::WaylandTestApplication | ( | OperationMode | mode, |
int & | argc, | ||
char ** | argv ) |
Definition at line 47 of file kwin_wayland_test.cpp.
|
override |
Definition at line 94 of file kwin_wayland_test.cpp.
|
overrideprotectedvirtual |
Implements KWin::Application.
Definition at line 143 of file kwin_wayland_test.cpp.
|
inline |
Definition at line 88 of file kwin_wayland_test.h.
Test::VirtualInputDevice * KWin::WaylandTestApplication::virtualKeyboard | ( | ) | const |
Definition at line 195 of file kwin_wayland_test.cpp.
Test::VirtualInputDevice * KWin::WaylandTestApplication::virtualPointer | ( | ) | const |
Definition at line 190 of file kwin_wayland_test.cpp.
Test::VirtualInputDevice * KWin::WaylandTestApplication::virtualTouch | ( | ) | const |
Definition at line 200 of file kwin_wayland_test.cpp.
|
overridevirtual |
Reimplemented from KWin::Application.
Definition at line 205 of file kwin_wayland_test.cpp.