My KWIN fork where I work on features like per-output virtual desktops
Find a file
Vlad Zahorodnii fc148cb668 Split X11 and Wayland specific compositor initialization code paths
With the current vision for how output backends work, the compositor
should take up more responsibilities. There are a few good reasons: some
things just don't make sense to be in backends, to allow sharing code
across backends easier, etc. On the other hand, we have X11, with its
own ways of doing things which are not always compatible with what we
want to do on Wayland.

The goal of this patch is to start splitting the compositor into
platform specific counterparts, with potentially moving X11 compositing
in kwin_x11. The main benefit of this is that we will be able to
push forward with wayland things more freely. Ideally it would be great
if we could make kwin_x11 have its own low level compositing code paths
that are nicely encapsulated in that executable and don't leak into
libkwin abstractions.

The biggest drawback of this approach is that there is going to be some
code duplication between x11 and wayland compositing code paths. But I
expect it to be the case only for a short term until we start landing
more abstractions in kwin_wayland, e.g. render devices, proper output
layer support, etc.
2023-09-22 14:06:24 +00:00
autotests backends/fakeinput: Implement fake-input v5 2023-09-22 12:48:18 +00:00
cmake/modules Drop Qt6WaylandClientMacros.cmake fork 2023-04-23 18:18:34 +00:00
data Port to KF6 2023-02-28 18:30:26 +02:00
doc Port usage of kcmshell5 to kcmshell6 2023-05-05 09:22:55 +00:00
LICENSES Remove unused license file 2022-08-23 17:41:55 +02:00
po GIT_SILENT Sync po/docbooks with svn 2023-09-22 02:16:30 +00:00
src Split X11 and Wayland specific compositor initialization code paths 2023-09-22 14:06:24 +00:00
tests Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
.clang-format Run clang-format 2022-03-25 13:25:15 +02:00
.gitignore Run clang-format 2022-03-25 13:25:15 +02:00
.gitlab-ci.yml ci: Bump to Qt 6.5 2023-04-22 08:11:15 +00:00
.kde-ci.yml ci: Specify runtime dependencies in .kde-ci.yml 2023-08-23 06:53:19 +00:00
CMakeLists.txt plugins/private: Update to ecm qml plugin tooling 2023-08-23 08:42:43 -04:00
CONTRIBUTING.md docs: Update docs for effects 2023-08-23 08:42:43 -04:00
KWinDBusInterfaceConfig.cmake.in
logo.png
Mainpage.dox
plasma-kwin_wayland.service.in
plasma-kwin_x11.service.in [systemd] Fix X11 service file 2022-01-20 16:18:48 +00:00
README.md

KWin

KWin is an easy to use, but flexible, composited Window Manager for Xorg windowing systems (Wayland, X11) on Linux. Its primary usage is in conjunction with a Desktop Shell (e.g. KDE Plasma Desktop). KWin is designed to go out of the way; users should not notice that they use a window manager at all. Nevertheless KWin provides a steep learning curve for advanced features, which are available, if they do not conflict with the primary mission. KWin does not have a dedicated targeted user group, but follows the targeted user group of the Desktop Shell using KWin as it's window manager.

KWin is not...

  • a standalone window manager (c.f. openbox, i3) and does not provide any functionality belonging to a Desktop Shell.
  • a replacement for window managers designed for use with a specific Desktop Shell (e.g. GNOME Shell)
  • a minimalistic window manager
  • designed for use without compositing or for X11 network transparency, though both are possible.

Contributing to KWin

Please refer to the contributing document for everything you need to know to get started contributing to KWin.

Contacting KWin development team

  • mailing list: kwin@kde.org
  • IRC: #kde-kwin on irc.libera.chat

Support

Application Developer

If you are an application developer having questions regarding windowing systems (either X11 or Wayland) please do not hesitate to contact us. Preferable through our mailing list. Ideally subscribe to the mailing list, so that your mail doesn't get stuck in the moderation queue.

End user

Please contact the support channels of your Linux distribution for user support. The KWin development team does not provide end user support.

Reporting bugs

Please use KDE's bugtracker and report for product KWin.

Guidelines for new features

A new Feature can only be added to KWin if:

  • it does not violate the primary missions as stated at the start of this document
  • it does not introduce instabilities
  • it is maintained, that is bugs are fixed in a timely manner (second next minor release) if it is not a corner case.
  • it works together with all existing features
  • it supports both single and multi screen (xrandr)
  • it adds a significant advantage
  • it is feature complete, that is supports at least all useful features from competitive implementations
  • it is not a special case for a small user group
  • it does not increase code complexity significantly
  • it does not affect KWin's license (GPLv2+)

All new added features are under probation, that is if any of the non-functional requirements as listed above do not hold true in the next two feature releases, the added feature will be removed again.

The same non functional requirements hold true for any kind of plugins (effects, scripts, etc.). It is suggested to use scripted plugins and distribute them separately.