You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Edmundson 5e9023948e [wayland] Keep application startup flow inside main_wayland
Summary:
In a recent patch the newly added xwayland class ended up being
responsible for continuing the startup, calling back into the main app
to spawn the workspace.

It moves the flow of startup about so it's not very readable or
following class structure.

This patch moves the code back into main_wayland and removes the
duplication between xwayland and non-xwayland modes.

There was also a misnaming of methods.

Previously:
continueStartupWithScreens was called after platform screens are created
continueStartupWithScene was called after the scene was created
continueStartupWithXwayland was called before xwayland is created

This was confusing, so the names have been shuffled around to follow a
consistent pattern of what has been done so far.

Test Plan:
Started kwin_wayland in normal and xwayland mode
Ran unit tests (though some failed due to a local unrelated and as yet unindentified bug)

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: romangg, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D19232
6 years ago
..
clipboard.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
clipboard.h [xwl] Generic X selections translation mechanism with Clipboard support 6 years ago
databridge.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
databridge.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
dnd.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
dnd.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
drag.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
drag.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
drag_wl.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
drag_wl.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
drag_x.cpp [xwl] Support stack optimizing X drag source clients 6 years ago
drag_x.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
selection.cpp [xwl] text/x-uri converter for selected X url list format targets 6 years ago
selection.h [xwl] text/x-uri converter for selected X url list format targets 6 years ago
selection_source.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
selection_source.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago
transfer.cpp [xwl] text/x-uri converter for selected X url list format targets 6 years ago
transfer.h [xwl] text/x-uri converter for selected X url list format targets 6 years ago
xwayland.cpp [wayland] Keep application startup flow inside main_wayland 6 years ago
xwayland.h [wayland] Keep application startup flow inside main_wayland 6 years ago
xwayland_interface.cpp [xwl] Add Xwayland interface class 6 years ago
xwayland_interface.h [xwl] Drag and drop between Xwayland and Wayland native clients 6 years ago