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.
 
 
 
 
 
 
Erik Kurzinger f294e7a035 Call frameRendered for undamaged Wayland surfaces
Currently, if a Wayland surface registers a frame callback but does
not send a damage event, the callback will not be serviced even after
KWin has completed a compositing cycle and is therefore ready to
render a new frame for the surface. Since some clients, including any
using NVIDIA's Wayland EGL implementation, wait for frame events
before preparing each frame this behavior can result in hangs if a
compositing cycle occurs between registering the frame callback and
sending the damage event.

Instead, in accordance with the Wayland specification, frame callbacks
should be serviced (via KWayland::Server::SurfaceInterface::frameRendered)
for all visible windows - not just those damaged since the last
compositing cycle.
6 years ago
autotests [autotests] Untangle ShellClient::testMaximizedToFullscreen 6 years ago
cmake/modules
colorcorrection
data
decorations
doc
effects Add windowsystem plugin for KWin's qpa 6 years ago
helpers
kcmkwin
kconf_update
libinput
libkwineffects Switch ThumbnailItem to internal uuid instead of WId 6 years ago
packageplugins
platformsupport
plugins Add windowsystem plugin for KWin's qpa 6 years ago
qml
scripting Fix reorder warning in AbstractScript 6 years ago
scripts
shaders
tabbox Silence warnings in TabBoxHandler 6 years ago
tests
.arcconfig
.arclint
16-apps-kwin.png
32-apps-kwin.png
48-apps-kwin.png
CMakeLists.txt
COPYING
COPYING.DOC
ExtraDesktop.sh
HACKING.md
KWinDBusInterfaceConfig.cmake.in
Mainpage.dox
Messages.sh
README.md
TESTING.md
abstract_client.cpp
abstract_client.h
abstract_opengl_context_attribute_builder.cpp
abstract_opengl_context_attribute_builder.h
abstract_output.cpp
abstract_output.h
activation.cpp
activities.cpp
activities.h
appmenu.cpp
appmenu.h
atoms.cpp
atoms.h
client.cpp
client.h
client_machine.cpp
client_machine.h
composite.cpp Call frameRendered for undamaged Wayland surfaces 6 years ago
composite.h
config-kwin.h.cmake
cursor.cpp
cursor.h
dbusinterface.cpp
dbusinterface.h
debug_console.cpp
debug_console.h
debug_console.ui
deleted.cpp
deleted.h
effectloader.cpp
effectloader.h
effects.cpp Switch ThumbnailItem to internal uuid instead of WId 6 years ago
effects.h Switch ThumbnailItem to internal uuid instead of WId 6 years ago
egl_context_attribute_builder.cpp
egl_context_attribute_builder.h
events.cpp
fixqopengl.h
focuschain.cpp
focuschain.h
geometry.cpp
geometrytip.cpp
geometrytip.h
gestures.cpp
gestures.h
globalshortcuts.cpp
globalshortcuts.h
group.cpp
group.h
idle_inhibition.cpp
idle_inhibition.h
input.cpp
input.h
input_event.cpp
input_event.h
input_event_spy.cpp
input_event_spy.h
keyboard_input.cpp
keyboard_input.h
keyboard_layout.cpp
keyboard_layout.h
keyboard_layout_switching.cpp
keyboard_layout_switching.h
keyboard_repeat.cpp
keyboard_repeat.h
killwindow.cpp
killwindow.h
kwin.kcfg
kwin.notifyrc
kwinbindings.cpp
lanczosfilter.cpp
lanczosfilter.h
layers.cpp
logind.cpp remove superfluous code 6 years ago
logind.h
main.cpp
main.h
main_wayland.cpp
main_wayland.h
main_x11.cpp
main_x11.h
manage.cpp
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
options.h
org.freedesktop.ScreenSaver.xml
org.kde.KWin.VirtualDesktopManager.xml
org.kde.KWin.xml
org.kde.kappmenu.xml
org.kde.kwin.ColorCorrect.xml
org.kde.kwin.Compositing.xml
org.kde.kwin.Effects.xml
org.kde.kwin.OrientationSensor.xml
orientation_sensor.cpp
orientation_sensor.h
osd.cpp
osd.h
outline.cpp
outline.h
outputscreens.cpp
outputscreens.h
overlaywindow.cpp
overlaywindow.h
placement.cpp
placement.h
platform.cpp
platform.h
pointer_input.cpp
pointer_input.h
popup_input_filter.cpp
popup_input_filter.h
resources.qrc
rootinfo_filter.cpp
rootinfo_filter.h
rules.cpp
rules.h
sc-apps-kwin.svgz
scene.cpp
scene.h
screenedge.cpp
screenedge.h
screenlockerwatcher.cpp
screenlockerwatcher.h
screens.cpp
screens.h
settings.kcfgc
shadow.cpp
shadow.h
shell_client.cpp Add windowsystem plugin for KWin's qpa 6 years ago
shell_client.h Trim whitespace 6 years ago
shortcutdialog.ui
sm.cpp
sm.h
tabgroup.cpp
tabgroup.h
tabletmodemanager.cpp
tabletmodemanager.h
thumbnailitem.cpp Switch ThumbnailItem to internal uuid instead of WId 6 years ago
thumbnailitem.h Switch ThumbnailItem to internal uuid instead of WId 6 years ago
toplevel.cpp
toplevel.h
touch_hide_cursor_spy.cpp
touch_hide_cursor_spy.h
touch_input.cpp
touch_input.h
udev.cpp
udev.h
unmanaged.cpp
unmanaged.h
useractions.cpp
useractions.h
utils.cpp
utils.h
virtual_terminal.cpp
virtual_terminal.h
virtualdesktops.cpp Send done event after the number of rows has been changed 6 years ago
virtualdesktops.h
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h
virtualkeyboard.cpp
virtualkeyboard.h
virtualkeyboard_dbus.cpp
virtualkeyboard_dbus.h
was_user_interaction_x11_filter.cpp
was_user_interaction_x11_filter.h
wayland_cursor_theme.cpp
wayland_cursor_theme.h
wayland_server.cpp Name Wayland socket automatically when no socket name was specified 6 years ago
wayland_server.h
window_property_notify_x11_filter.cpp
window_property_notify_x11_filter.h
workspace.cpp
workspace.h
x11eventfilter.cpp
x11eventfilter.h
xcbutils.cpp
xcbutils.h
xkb.cpp
xkb.h
xkb_qt_mapping.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.