KWin
|
Public Member Functions | |
X11TestApplication (int &argc, char **argv) | |
~X11TestApplication () 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 |
virtual XwaylandInterface * | xwayland () 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 20 of file test_x11_timestamp_update.cpp.
KWin::X11TestApplication::X11TestApplication | ( | int & | argc, |
char ** | argv ) |
Definition at line 31 of file test_x11_timestamp_update.cpp.
|
override |
Definition at line 38 of file test_x11_timestamp_update.cpp.
|
overrideprotectedvirtual |
Implements KWin::Application.
Definition at line 42 of file test_x11_timestamp_update.cpp.