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.
 
 
 
 
 
 
Ismael Asensio 61c6d58172 [kwinrules] Add kconf_update script to fix placement rule
Since the port to KConfigXT, the placement setting in `kwinrulesrc` now stores the enum value instead of a string equivalent.
The strings and enum values are taken from `placement.h/.cpp`

This was suggested by @zzag in https://phabricator.kde.org/D29790
4 years ago
autotests Autotests: Add a test when relaunching a maximized cliend with BorderlessMaximizedWindows 4 years ago
cmake/modules fix: make hwdata truly a runtime dependency 5 years ago
colorcorrection Revert "[kcm/effects] Clip ListView" 5 years ago
data Cleanup style in CMakeLists.txt files 5 years ago
decorations [decoration] Fix propagation of client size 4 years ago
doc Remove the "Candy" category and fold its contents into "Appearance" 5 years ago
effects Correctly align natural layout in present windows 4 years ago
helpers Cleanup style in CMakeLists.txt files 5 years ago
kcmkwin [kcm/kwinrules] Extend upper limit of position and size spinners 4 years ago
kconf_update [kwinrules] Add kconf_update script to fix placement rule 4 years ago
libinput Wayland: Allow to set a scroll Factor for input devices 5 years ago
libkwineffects Port KWin to KWaylandServer 4 years ago
platformsupport Revert "Reload Shm texture when buffer size changes" 4 years ago
plugins Wayland: avoid binding disabled outputs to surfaces 4 years ago
qml Move from Quad to Cubic 5 years ago
scripting Emit Workspace::clientAdded() with AbstractClient 4 years ago
scripts [scripting] Introduce writable frameGeometry property 4 years ago
tabbox Move core shade code to AbstractClient 4 years ago
tests Remove orientation sensor 5 years ago
xwl Port KWin to KWaylandServer 4 years ago
.arcconfig
CMakeLists.txt Update version number for 5.18.90 4 years ago
COPYING
HACKING.md Revert "[kcm/effects] Clip ListView" 5 years ago
KWinDBusInterfaceConfig.cmake.in
Mainpage.dox
Messages.sh Extract messages from cpp files in colorcorrection/ 5 years ago
README.md
TESTING.md
abstract_client.cpp Merge branch 'Plasma/5.18' 4 years ago
abstract_client.h [scripting] Introduce writable frameGeometry property 4 years ago
abstract_opengl_context_attribute_builder.cpp
abstract_opengl_context_attribute_builder.h
abstract_output.cpp Port KWin to KWaylandServer 4 years ago
abstract_output.h Port KWin to KWaylandServer 4 years ago
abstract_wayland_output.cpp Port KWin to KWaylandServer 4 years ago
abstract_wayland_output.h Port KWin to KWaylandServer 4 years ago
activation.cpp Make it possible to have a separate cursor for the tablet 5 years ago
activities.cpp Drop some custom list typedefs 5 years ago
activities.h Rename Client to X11Client 5 years ago
appmenu.cpp Rename Client to X11Client 5 years ago
appmenu.h
atoms.cpp [x11] Add support for _GTK_FRAME_EXTENTS 5 years ago
atoms.h [x11] Add support for _GTK_FRAME_EXTENTS 5 years ago
client_machine.cpp Use nullptr everywhere 5 years ago
client_machine.h Use nullptr everywhere 5 years ago
composite.cpp Port KWin to KWaylandServer 4 years ago
composite.h Revert "[platforms/x11] Never block on retrace, always present after paint" 5 years ago
config-kwin.h.cmake fix: make hwdata truly a runtime dependency 5 years ago
cursor.cpp Set cursor size default to 24 to align with KCM 4 years ago
cursor.h Make it possible to have a separate cursor for the tablet 5 years ago
dbusinterface.cpp Drop redundant Compositor::hasScene() 5 years ago
dbusinterface.h Use more traditional doxygen style 5 years ago
debug_console.cpp Emit Workspace::clientAdded() with AbstractClient 4 years ago
debug_console.h Implement the tablet wayland protocol in kwin 5 years ago
debug_console.ui
deleted.cpp Drop Toplevel::decorationRect() 5 years ago
deleted.h Drop Toplevel::decorationRect() 5 years ago
effectloader.cpp
effectloader.h Use more traditional doxygen style 5 years ago
effects.cpp Emit Workspace::clientAdded() with AbstractClient 4 years ago
effects.h Merge setting up abstractclient and x11client connections in EffectsHandler 4 years ago
egl_context_attribute_builder.cpp
egl_context_attribute_builder.h
events.cpp Move core shade code to AbstractClient 4 years ago
fixqopengl.h
focuschain.cpp Use nullptr everywhere 5 years ago
focuschain.h Rename Client to X11Client 5 years ago
geometrytip.cpp Use nullptr everywhere 5 years ago
geometrytip.h
gestures.cpp Improve tests behaviour on set ups with high dpi 5 years ago
gestures.h Use more traditional doxygen style 5 years ago
globalshortcuts.cpp
globalshortcuts.h Use more traditional doxygen style 5 years ago
group.cpp Split group.cpp topic file 5 years ago
group.h Drop some custom list typedefs 5 years ago
idle_inhibition.cpp Port KWin to KWaylandServer 4 years ago
idle_inhibition.h Port KWin to KWaylandServer 4 years ago
input.cpp Port KWin to KWaylandServer 4 years ago
input.h Implement the tablet wayland protocol in kwin 5 years ago
input_event.cpp Implement the tablet wayland protocol in kwin 5 years ago
input_event.h Implement the tablet wayland protocol in kwin 5 years ago
input_event_spy.cpp Implement the tablet wayland protocol in kwin 5 years ago
input_event_spy.h Implement the tablet wayland protocol in kwin 5 years ago
internal_client.cpp Remove overloads on virtual methods 5 years ago
internal_client.h Remove overloads on virtual methods 5 years ago
keyboard_input.cpp Port KWin to KWaylandServer 4 years ago
keyboard_input.h Use more traditional doxygen style 5 years ago
keyboard_layout.cpp Port away from a deprecated signal 5 years ago
keyboard_layout.h
keyboard_layout_switching.cpp Use end() instead of constEnd() for where we compare to an iterator 8 years ago
keyboard_layout_switching.h Run clang-tidy with modernize-use-override check 5 years ago
keyboard_repeat.cpp Port KWin to KWaylandServer 4 years ago
keyboard_repeat.h [wayland] Avoid compare to unintialised value in keyboard repeat 5 years ago
killwindow.cpp
killwindow.h
kwin.kcfg Revert "Improve partial maximization strings" 4 years ago
kwin.notifyrc SVN_SILENT made messages (.desktop file) - always resolve ours 5 years ago
kwinbindings.cpp Remove disabled TabGroup feature 5 years ago
layers.cpp Fix compiler warnings 5 years ago
linux_dmabuf.cpp Port KWin to KWaylandServer 4 years ago
linux_dmabuf.h Port KWin to KWaylandServer 4 years ago
logind.cpp
logind.h Use more traditional doxygen style 5 years ago
main.cpp Port KWin to KWaylandServer 4 years ago
main.h Remove QSessionManager usage 5 years ago
main_wayland.cpp Port KWin to KWaylandServer 4 years ago
main_wayland.h
main_x11.cpp Remove QSessionManager usage 5 years ago
main_x11.h Don't notify ksplash in our wayland session 5 years ago
modifier_only_shortcuts.cpp Implement the tablet wayland protocol in kwin 5 years ago
modifier_only_shortcuts.h
moving_client_x11_filter.cpp Rename Client to X11Client 5 years ago
moving_client_x11_filter.h
netinfo.cpp [x11] Add support for _GTK_FRAME_EXTENTS 5 years ago
netinfo.h Rename Client to X11Client 5 years ago
onscreennotification.cpp Move from Quad to Cubic 5 years ago
onscreennotification.h
options.cpp Revert "Improve partial maximization strings" 4 years ago
options.h Revert "Remove vsync detection and configurability" 5 years ago
org.kde.KWin.Session.xml Remove QSessionManager usage 5 years ago
org.kde.KWin.VirtualDesktopManager.xml
org.kde.KWin.xml
org.kde.kappmenu.xml
org.kde.kwin.ColorCorrect.xml [nightcolor] Expose transition timings to d-bus 5 years ago
org.kde.kwin.Compositing.xml
org.kde.kwin.Effects.xml
osd.cpp
osd.h
outline.cpp
outline.h Use more traditional doxygen style 5 years ago
outputscreens.cpp Associate output transforms and orientations 5 years ago
outputscreens.h Associate output transforms and orientations 5 years ago
overlaywindow.cpp
overlaywindow.h
placement.cpp Make it possible to have a separate cursor for the tablet 5 years ago
placement.h Delete unused forward declaration of Client class 5 years ago
platform.cpp Port KWin to KWaylandServer 4 years ago
platform.h Port KWin to KWaylandServer 4 years ago
pointer_input.cpp Follow scale of drag surfaces 4 years ago
pointer_input.h Port KWin to KWaylandServer 4 years ago
popup_input_filter.cpp Use AbstractClient instead of XdgShellClient wherever possible 5 years ago
popup_input_filter.h Use AbstractClient instead of XdgShellClient wherever possible 5 years ago
rootinfo_filter.cpp
rootinfo_filter.h
rulebooksettings.cpp Port kwinrules kcm to kconfigxt 5 years ago
rulebooksettings.h Port kwinrules kcm to kconfigxt 5 years ago
rulebooksettingsbase.kcfg Port kwinrules kcm to kconfigxt 5 years ago
rulebooksettingsbase.kcfgc Port kwinrules kcm to kconfigxt 5 years ago
rules.cpp Port kwinrules kcm to kconfigxt 5 years ago
rules.h Port kwinrules kcm to kconfigxt 5 years ago
rulesettings.kcfg Fix minor typo: inital -> initial 5 years ago
rulesettings.kcfgc Port kwinrules kcm to kconfigxt 5 years ago
scene.cpp [scene] Re-build window quads after creating a WindowPixmap 4 years ago
scene.h [scene] Generate window quads for sub-surfaces 4 years ago
screenedge.cpp Make it possible to have a separate cursor for the tablet 5 years ago
screenedge.h Use more traditional doxygen style 5 years ago
screenlockerwatcher.cpp
screenlockerwatcher.h
screens.cpp Make it possible to have a separate cursor for the tablet 5 years ago
screens.h Improve tests behaviour on set ups with high dpi 5 years ago
settings.kcfgc
shadow.cpp Port KWin to KWaylandServer 4 years ago
shadow.h Port KWin to KWaylandServer 4 years ago
shortcutdialog.ui
sm.cpp Remove QSessionManager usage 5 years ago
sm.h Remove QSessionManager usage 5 years ago
subsurfacemonitor.cpp [scene] Rebuild window quads when sub-surface tree changes 4 years ago
subsurfacemonitor.h [scene] Rebuild window quads when sub-surface tree changes 4 years ago
syncalarmx11filter.cpp [x11] Enable synchronized resizing for Xwayland clients 4 years ago
syncalarmx11filter.h [x11] Enable synchronized resizing for Xwayland clients 4 years ago
tablet_input.cpp Port KWin to KWaylandServer 4 years ago
tablet_input.h Implement the tablet wayland protocol in kwin 5 years ago
tabletmodemanager.cpp Fix the tablet mode manager 5 years ago
tabletmodemanager.h
thumbnailitem.cpp Use AbstractClient instead of XdgShellClient wherever possible 5 years ago
thumbnailitem.h Use nullptr everywhere 5 years ago
toplevel.cpp Port KWin to KWaylandServer 4 years ago
toplevel.h Port KWin to KWaylandServer 4 years ago
touch_hide_cursor_spy.cpp Be consistent about touch point id type: use qint32 5 years ago
touch_hide_cursor_spy.h Be consistent about touch point id type: use qint32 5 years ago
touch_input.cpp Port KWin to KWaylandServer 4 years ago
touch_input.h Be consistent about touch point id type: use qint32 5 years ago
udev.cpp
udev.h
unmanaged.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
unmanaged.h [wayland] Implement window geometry more properly 5 years ago
useractions.cpp Move core shade code to AbstractClient 4 years ago
useractions.h Rename Client to X11Client 5 years ago
utils.cpp Reduce the amount of objects that are compiled several times 5 years ago
utils.h Reduce the amount of objects that are compiled several times 5 years ago
virtual_terminal.cpp
virtual_terminal.h
virtualdesktops.cpp Port KWin to KWaylandServer 4 years ago
virtualdesktops.h Port KWin to KWaylandServer 4 years ago
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h
virtualkeyboard.cpp Port KWin to KWaylandServer 4 years ago
virtualkeyboard.h Revert "Load the keyboard on-demand" 5 years ago
virtualkeyboard_dbus.cpp Add DBus protocol to virtual keyboard 7 years ago
virtualkeyboard_dbus.h
was_user_interaction_x11_filter.cpp
was_user_interaction_x11_filter.h
wayland_cursor_theme.cpp Port KWin to KWaylandServer 4 years ago
wayland_cursor_theme.h
wayland_server.cpp drop unused headers 4 years ago
wayland_server.h drop unused headers 4 years ago
window_property_notify_x11_filter.cpp Rename Client to X11Client 5 years ago
window_property_notify_x11_filter.h
workspace.cpp Drop Workspace::sendPingToWindow() 4 years ago
workspace.h Emit Workspace::clientAdded() with AbstractClient 4 years ago
x11client.cpp Move core shade code to AbstractClient 4 years ago
x11client.h Move core shade code to AbstractClient 4 years ago
x11eventfilter.cpp
x11eventfilter.h Use more traditional doxygen style 5 years ago
xcbutils.cpp Use nullptr everywhere 5 years ago
xcbutils.h Adjust scene for client-side decorated clients 5 years ago
xdgshellclient.cpp fix compilation, remove extra parenthesis 4 years ago
xdgshellclient.h Port KWin to KWaylandServer 4 years ago
xkb.cpp Port KWin to KWaylandServer 4 years ago
xkb.h Port KWin to KWaylandServer 4 years ago
xkb_qt_mapping.h Set Qt::KeypadModifier depending on current keysym 5 years ago
xwaylandclient.cpp [x11] Disable synchronized resizing for Xwayland < 1.21 4 years ago
xwaylandclient.h [x11] Disable synchronized resizing for Xwayland < 1.21 4 years ago

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.