kwin/xwl
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
2019-02-23 12:18:09 +00:00
..
clipboard.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
clipboard.h [xwl] Generic X selections translation mechanism with Clipboard support 2019-02-19 12:24:27 +01:00
databridge.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
databridge.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
dnd.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
dnd.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag_wl.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag_wl.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag_x.cpp [xwl] Support stack optimizing X drag source clients 2019-02-19 13:24:18 +01:00
drag_x.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
selection.cpp [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
selection.h [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
selection_source.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
selection_source.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
transfer.cpp [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
transfer.h [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
xwayland.cpp [wayland] Keep application startup flow inside main_wayland 2019-02-23 12:18:09 +00:00
xwayland.h [wayland] Keep application startup flow inside main_wayland 2019-02-23 12:18:09 +00:00
xwayland_interface.cpp [xwl] Add Xwayland interface class 2019-02-19 12:59:11 +01:00
xwayland_interface.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00