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.
 
 
 
 
 
 
Vlad Zahorodnii 7e5c16989e Drop hwcomposer backend
Plasma Mobile announced that they plan to drop support for Halium
devices, see the announcement blog post [1] for the reasons that led to
such a decision.

But just to summarize, here are some of the key points from the post:

 * Some of our team members no longer have access to reference LG Nexus
   5X device anymore
 * After KDE Neon switched to using Ubuntu 20.04 we no longer are
   updating the rootfs for halium devices
 * After several important architecture changes in upstream KWin, the
   hwcomposer backend might be broken and we have no way of verifying it

If the community members are interested in reviving the hwcomposer
backend,

  * it pretty much needs rewrite/re-thinking given differences of hwc1
    and hwc2 API for hwcomposer part of it, see also [2]
  * It also needs removal of Android 5 based libhardware API as we don't
    think code can be kept sane with 3 different levels of ifdefs
  * This backend needs better way of fixing difference between
    CAF/non-CAF devices then just recompiling with different headers,
    maybe env vars?
  * This backend does not support various things like transformation/
    rotation etc, and is not exactly feature complete as the DRM backend

[1] https://www.plasma-mobile.org/2020/12/14/plasma-mobile-technical-debt.html
[2] 83f563c339
4 years ago
3rdparty Introduce ColorManager component 4 years ago
LICENSES
autotests autotests: Convert testScreens into an integration test 4 years ago
cmake/modules Drop hwcomposer backend 4 years ago
data Drop hwcomposer backend 4 years ago
decorations Add a QRect to showWindowMenu 4 years ago
doc
effects SVN_SILENT made messages (.desktop file) - always resolve ours 4 years ago
helpers Missing includes (for strdup() and strlen()) 4 years ago
kcmkwin kcm/kwinrules: Detect and suggest activities from a window 4 years ago
kconf_update Make kwin-5.21-desktop-grid-click-behavior.py use Python 3 4 years ago
libinput Trim trailing whitespace 4 years ago
libkwineffects Bump libkwineffects so version 4 years ago
platformsupport Prevent EGL headers from including Xlib headers 4 years ago
plugins Drop hwcomposer backend 4 years ago
qml Fix Connections warnings 4 years ago
scripting If include is define in .h remove it if it's defined in .cpp too (scripted) 4 years ago
scripts Fix Connections warnings 4 years ago
tabbox [kcmkwin/kwinscreenedges] Disable left touch edge by default 4 years ago
tests Fix Connections warnings 4 years ago
xwl xwl: No need to delete the source immediately 4 years ago
.gitignore Add .gitignore file to ignore generated .clang-format 4 years ago
CMakeLists.txt Drop hwcomposer backend 4 years ago
HACKING.md
KWinDBusInterfaceConfig.cmake.in
Mainpage.dox
Messages.sh Convert Night Color into a plugin 4 years ago
README.md
TESTING.md
abstract_client.cpp Drop AbstractClient::isInitialPositionSet() 4 years ago
abstract_client.h Drop AbstractClient::isInitialPositionSet() 4 years ago
abstract_opengl_context_attribute_builder.cpp
abstract_opengl_context_attribute_builder.h
abstract_output.cpp Add manufacturer, model, and serialNumber properties to AbstractOutput 4 years ago
abstract_output.h Add manufacturer, model, and serialNumber properties to AbstractOutput 4 years ago
abstract_wayland_output.cpp Fix login modeset 4 years ago
abstract_wayland_output.h Add manufacturer, model, and serialNumber properties to AbstractOutput 4 years ago
activation.cpp
activities.cpp If include is define in .h remove it if it's defined in .cpp too (scripted) 4 years ago
activities.h
appmenu.cpp Trim trailing whitespace 4 years ago
appmenu.h
atoms.cpp
atoms.h
client_machine.cpp Replace remaining usages of old connect syntax with new connect syntax 4 years ago
client_machine.h
colordevice.cpp Introduce ColorManager component 4 years ago
colordevice.h Introduce ColorManager component 4 years ago
colormanager.cpp Fix minor coding style issues 4 years ago
colormanager.h Re-apply color transforms when session is re-activated 4 years ago
composite.cpp Provide expected presentation time to effects 4 years ago
composite.h Refactor how per screen rendering is handled 4 years ago
config-kwin.h.cmake Drop hwcomposer backend 4 years ago
cursor.cpp Provide cursor geometry in device-independent pixels 4 years ago
cursor.h Trim trailing whitespace 4 years ago
dbusinterface.cpp kcm/kwinrules: Detect and suggest activities from a window 4 years ago
dbusinterface.h Introduce infrastructure for compositor extensions 4 years ago
debug_console.cpp --warning 4 years ago
debug_console.h
debug_console.ui
deleted.cpp Store repaint regions per individual screen 4 years ago
deleted.h
dmabuftexture.cpp
dmabuftexture.h
effectloader.cpp If include is define in .h remove it if it's defined in .cpp too (scripted) 4 years ago
effectloader.h
effects.cpp Prepare kwin for compiling with EGL_NO_PLATFORM_SPECIFIC_TYPES 4 years ago
effects.h Provide expected presentation time to effects 4 years ago
egl_context_attribute_builder.cpp
egl_context_attribute_builder.h
events.cpp wayland: Plumb some X11 code 4 years ago
focuschain.cpp [focuschain/task switcher] Add hidden option to govern repositioning minimized windows 4 years ago
focuschain.h Revert "[focuschain/task switcher] Remove special handling for minimized windows" 4 years ago
geometrytip.cpp
geometrytip.h
gestures.cpp
gestures.h
globalshortcuts.cpp
globalshortcuts.h
group.cpp
group.h
idle_inhibition.cpp
idle_inhibition.h
input.cpp wayland: Reload key-repeat settings when kcminputrc changes 4 years ago
input.h wayland: Reload key-repeat settings when kcminputrc changes 4 years ago
input_event.cpp
input_event.h
input_event_spy.cpp
input_event_spy.h
inputmethod.cpp Port wayland code away from factory methods in KWaylandServer::Display 4 years ago
inputmethod.h inputmethod: remove the workarounds 4 years ago
inputpanelv1client.cpp Schedule a repaint when a window is damaged 4 years ago
inputpanelv1client.h Drop AbstractClient::isInitialPositionSet() 4 years ago
inputpanelv1integration.cpp Port wayland code away from factory methods in KWaylandServer::Display 4 years ago
inputpanelv1integration.h
internal_client.cpp Schedule a repaint when a window is damaged 4 years ago
internal_client.h Drop Toplevel::windowId() 4 years ago
keyboard_input.cpp Revert "refactor: localize checkLayoutChange() check" 4 years ago
keyboard_input.h
keyboard_layout.cpp impr: Keyboard Layout DBus API: drop excessive method arguments 4 years ago
keyboard_layout.h impr: Keyboard Layout DBus API: drop excessive method arguments 4 years ago
keyboard_layout_switching.cpp fix: [1/2] Keyboard Layout applet doesn't follow actual layout switching 4 years ago
keyboard_layout_switching.h
keyboard_repeat.cpp wayland: adapt to changes in the keyboard and seat interface 4 years ago
keyboard_repeat.h
killwindow.cpp
killwindow.h
kwin.kcfg Revert "Change the defaults for active screen" 4 years ago
kwin.notifyrc SVN_SILENT made messages (.desktop file) - always resolve ours 4 years ago
kwinbindings.cpp Add keyboard shortcuts for general navigation following the Meta-for-desktop xdg spec 4 years ago
layers.cpp Rename the variable where override-redirect windows are stored 4 years ago
layershellv1client.cpp Schedule a repaint when a window is damaged 4 years ago
layershellv1client.h Schedule a repaint when a window is damaged 4 years ago
layershellv1integration.cpp Port wayland code away from factory methods in KWaylandServer::Display 4 years ago
layershellv1integration.h
linux_dmabuf.cpp
linux_dmabuf.h
logind.cpp Remove unnecessary comparisons 4 years ago
logind.h drm: Make sure the screens are turned on when we come from suspend 4 years ago
logo.png
main.cpp Re-apply color transforms when session is re-activated 4 years ago
main.h Re-apply color transforms when session is re-activated 4 years ago
main_wayland.cpp Drop hwcomposer backend 4 years ago
main_wayland.h
main_x11.cpp Re-apply color transforms when session is re-activated 4 years ago
main_x11.h Drop Platform::createScreens() 4 years ago
modifier_only_shortcuts.cpp
modifier_only_shortcuts.h
moving_client_x11_filter.cpp
moving_client_x11_filter.h
netinfo.cpp
netinfo.h
onscreennotification.cpp
onscreennotification.h
options.cpp [focuschain/task switcher] Add hidden option to govern repositioning minimized windows 4 years ago
options.h Prefer Q_ENUM to Q_ENUMS 4 years ago
org.kde.KWin.Plugins.xml Introduce infrastructure for compositor extensions 4 years ago
org.kde.KWin.Session.xml Add an explicit quit mechanism controlled by plasma 4 years ago
org.kde.KWin.VirtualDesktopManager.xml
org.kde.KWin.xml
org.kde.kappmenu.xml
org.kde.kwin.Compositing.xml
org.kde.kwin.Effects.xml
osd.cpp
osd.h
outline.cpp Replace remaining usages of old connect syntax with new connect syntax 4 years ago
outline.h
overlaywindow.cpp
overlaywindow.h
placement.cpp placement: Remove unused function 4 years ago
placement.h placement: Make internal methods private 4 years ago
plasma-kwin_wayland.service.in Update systemd units 4 years ago
plasma-kwin_x11.service.in Update systemd units 4 years ago
platform.cpp Drop Platform::createScreens() 4 years ago
platform.h Drop Platform::createScreens() 4 years ago
plugin.cpp Introduce infrastructure for compositor extensions 4 years ago
plugin.h Introduce infrastructure for compositor extensions 4 years ago
pluginmanager.cpp Introduce infrastructure for compositor extensions 4 years ago
pluginmanager.h Introduce infrastructure for compositor extensions 4 years ago
pointer_input.cpp Adjust kwin to pointer constraints changes in kws 4 years ago
pointer_input.h
popup_input_filter.cpp
popup_input_filter.h Prettify license headers 4 years ago
rootinfo_filter.cpp
rootinfo_filter.h
rulebooksettings.cpp
rulebooksettings.h
rulebooksettingsbase.kcfg
rulebooksettingsbase.kcfgc
rules.cpp kwinrules: Allow multiple activities in rule settings 4 years ago
rules.h kwinrules: Allow multiple activities in rule settings 4 years ago
rulesettings.kcfg kwinrules: Allow multiple activities in rule settings 4 years ago
rulesettings.kcfgc
scene.cpp scene: Fix window pixmap traversal order 4 years ago
scene.h Provide expected presentation time to effects 4 years ago
screenedge.cpp If include is define in .h remove it if it's defined in .cpp too (scripted) 4 years ago
screenedge.h
screenlockerwatcher.cpp Replace remaining usages of old connect syntax with new connect syntax 4 years ago
screenlockerwatcher.h
screens.cpp Drop Platform::createScreens() 4 years ago
screens.h Drop Platform::createScreens() 4 years ago
service_utils.cpp
service_utils.h Screenshot effect: add a screenshotScreens(...) to screenshot specific screens 4 years ago
settings.kcfgc
shadow.cpp
shadow.h Trim trailing whitespace 4 years ago
shortcutdialog.ui
sm.cpp Add an explicit quit mechanism controlled by plasma 4 years ago
sm.h Add an explicit quit mechanism controlled by plasma 4 years ago
subsurfacemonitor.cpp
subsurfacemonitor.h
syncalarmx11filter.cpp
syncalarmx11filter.h
tablet_input.cpp If include is define in .h remove it if it's defined in .cpp too (scripted) 4 years ago
tablet_input.h
tabletmodemanager.cpp Remove confusing debug message 4 years ago
tabletmodemanager.h
thumbnailitem.cpp Replace remaining usages of old connect syntax with new connect syntax 4 years ago
thumbnailitem.h
toplevel.cpp Schedule a repaint when a window is damaged 4 years ago
toplevel.h Schedule a repaint when a window is damaged 4 years ago
touch_hide_cursor_spy.cpp
touch_hide_cursor_spy.h
touch_input.cpp If include is define in .h remove it if it's defined in .cpp too (scripted) 4 years ago
touch_input.h
udev.cpp Drop check for if parent subsystem is PCI 4 years ago
udev.h Multi-GPU output support on Wayland 4 years ago
unmanaged.cpp Schedule a repaint when a window is damaged 4 years ago
unmanaged.h Schedule a repaint when a window is damaged 4 years ago
useractions.cpp Convert Night Color into a plugin 4 years ago
useractions.h
utils.cpp
utils.h
virtual_terminal.cpp
virtual_terminal.h
virtualdesktops.cpp Trim trailing whitespace 4 years ago
virtualdesktops.h
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h
virtualkeyboard_dbus.cpp
virtualkeyboard_dbus.h
was_user_interaction_x11_filter.cpp
was_user_interaction_x11_filter.h
wayland_server.cpp Introduce helper to restart kwin on crash exit 4 years ago
wayland_server.h Introduce helper to restart kwin on crash exit 4 years ago
waylandclient.cpp wayland: Don't force a bpp of 24 for desktop windows 4 years ago
waylandclient.h Drop Toplevel::windowId() 4 years ago
waylandshellintegration.cpp
waylandshellintegration.h
window_property_notify_x11_filter.cpp
window_property_notify_x11_filter.h
workspace.cpp Prepare kwin for compiling with EGL_NO_PLATFORM_SPECIFIC_TYPES 4 years ago
workspace.h Fix typos in comment 4 years ago
x11client.cpp kwinrules: Allow multiple activities in rule settings 4 years ago
x11client.h
x11eventfilter.cpp
x11eventfilter.h
xcbutils.cpp
xcbutils.h Correct typos in xcbutils.h 4 years ago
xcursortheme.cpp
xcursortheme.h
xdgshellclient.cpp wayland: Ignore the move request for immovable windows 4 years ago
xdgshellclient.h Schedule a repaint when a window is damaged 4 years ago
xdgshellintegration.cpp Port wayland code away from factory methods in KWaylandServer::Display 4 years ago
xdgshellintegration.h
xkb.cpp feat: QML Keyboard Layout applet: allow Short Name override 4 years ago
xkb.h feat: expose keyboard layout Short Name via DBus 4 years ago
xkb_qt_mapping.h add audio pause mapping in xkb_qt_mapping. 4 years ago
xwaylandclient.cpp
xwaylandclient.h

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.

Contacting KWin development team

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.

Developing on KWin

Please refer to hacking documentation for how to build and start KWin. Further information about KWin's test suite can be found in TESTING.md.

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.