Hello,

The (basic) kwin split had been completed yesterday. This means that https://invent.kde.org/plasma/kwin hosts kwin_wayland, and https://invent.kde.org/plasma/kwin-x11 hosts kwin_x11 now. Both kwin_x11 and kwin_wayland are co-installable, they don't conflict with each other. When 6.4 is out, a distro can ship either kwin_wayland or both kwin_x11 and kwin_wayland depending on the distro details (e.g. is Wayland enabled by default? does the distro require manual user intervention during the update process? etc)

Note that kwin_wayland is de-facto just "kwin" and we suggest that kwin_wayland is still provided by a package called "kwin". Although, of course, the final decision is left to the distros. kwin_x11 is expected to be maintained until Plasma 7, no new features are expected to be backported (to be fair, the feature freeze has been in place for quite a while already https://blog.martin-graesslin.com/blog/2018/01/kwinx11-is-feature-frozen/).

New fixes should be landed in kwin_wayland first, then backported to kwin_x11. There are a few ways how a fix can be backported:

- the first way to backport a bugfix is to use the  `git format-patch` command in kwin repo and then apply that patch in kwin-x11 repo

- another way is to add kwin-x11 remote in kwin repo and then use the cherry-pick command to backport fixes, for example

git remote add kwin-x11 g...@invent.kde.org:plasma/kwin-x11.git
 git fetch kwin-x11 master
 git checkout -b work/username/backport-bugfix kwin-x11/master
 git cherry-pick <hash of a fix>
 ... potentially resolve merge conflicts ...
 git push -o merge_request.create kwin-x11 HEAD

Despite the name, kwin-x11 still contains traces of Wayland. This is mainly for autotests, and to keep the difference between kwin_x11 and kwin_wayland codebases as minimal as possible so it's easier to backport fixes.

More details about the split will follow in a separate blog post.

Cheers,
Vlad

Reply via email to