You can not 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 Zagorodniy d94eb29d07 [effects/thumbnailaside] Specify screen projection matrix 7 years ago
autotests Revert "Handle XdgShell window geometry in configure request sizes" 7 years ago
cmake/modules Update URLs to use https 7 years ago
colorcorrection Update URLs to use https 7 years ago
data Move icons to data dir 7 years ago
decorations Resurrect show tooltips option 7 years ago
doc Update URLs to use https 7 years ago
effects [effects/thumbnailaside] Specify screen projection matrix 7 years ago
helpers Remove X clipboard sync helper and rename its autotest 7 years ago
kcmkwin SVN_SILENT made messages (.desktop file) - always resolve ours 7 years ago
kconf_update [kconf_update] Use scripted dim screen effect 7 years ago
libinput Make it possible to autodetect the tablet mode 7 years ago
libkwineffects Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
platformsupport Reload Shm texture when buffer size changes 7 years ago
plugins Fix crash due to dangling reference 7 years ago
qml fix virtual keyboard on Plasma Mobile 7 years ago
scripting [scripting] Make DBus invokable run method return result after execution 7 years ago
scripts SVN_SILENT made messages (.desktop file) - always resolve ours 7 years ago
tabbox Overhaul doxygen comments 7 years ago
tests Use locked cursor position hint 8 years ago
xwl Update URLs to use https 7 years ago
.arcconfig Adding .arcconfig 10 years ago
.arclint Add .arclint 8 years ago
CMakeLists.txt Update kf5 version requirement to 5.58.0 7 years ago
COPYING
HACKING.md Introduce a new HACKING.md document to replace the previous HACKING 7 years ago
KWinDBusInterfaceConfig.cmake.in Add path to kwin_wayland binary to KWin's installed CMakeConfig 10 years ago
Mainpage.dox
Messages.sh Fix untranslatable strings in debug_console.ui shortcutdialog.ui 8 years ago
README.md Add a new markdown README 7 years ago
TESTING.md [platform/virtual] Drop support for vgem and rendernode 7 years ago
abstract_client.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
abstract_client.h Expose AbstractClient::setMaximize to scripting 7 years ago
abstract_opengl_context_attribute_builder.cpp Request a high-priority EGL contexts 8 years ago
abstract_opengl_context_attribute_builder.h Request a high-priority EGL contexts 8 years ago
abstract_output.cpp Initialise XdgOutput properties on creation 7 years ago
abstract_output.h Remove redundant AbstractOutput::internal() method 7 years ago
activation.cpp Support NET_WM_STATE_FOCUSED 7 years ago
activities.cpp Revert "Remove saving and loading (and client matching by) WM_COMMAND." 10 years ago
activities.h Overhaul doxygen comments 7 years ago
appmenu.cpp Don't try to open application menu when client doesn't have one 8 years ago
appmenu.h Fix minor EBN issues 8 years ago
atoms.cpp [xwl] text/x-uri converter for selected X url list format targets 7 years ago
atoms.h [xwl] text/x-uri converter for selected X url list format targets 7 years ago
client.cpp Don't crash when highlighted tabbox client is closed 7 years ago
client.h Overhaul doxygen comments 7 years ago
client_machine.cpp
client_machine.h
composite.cpp Make Compositor::finish more generic 7 years ago
composite.h [wayland] Send correct current time in the frame callback 7 years ago
config-kwin.h.cmake [platforms/drm] EGLStream DRM Backend Initial Implementation 7 years ago
cursor.cpp Drop XFixes include in cursor.cpp 7 years ago
cursor.h Overhaul doxygen comments 7 years ago
dbusinterface.cpp Fix VirtualDesktopManager::createVirtualDesktop 7 years ago
dbusinterface.h Overhaul doxygen comments 7 years ago
debug_console.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
debug_console.h Require libinput and udev 8 years ago
debug_console.ui fixuifiles 8 years ago
deleted.cpp [wayland] Make sure that only the fading popups effect animates outline 7 years ago
deleted.h [wayland] Make sure that only the fading popups effect animates outline 7 years ago
effectloader.cpp Introduce an EffectsHandler::animationsSupported -> bool 10 years ago
effectloader.h Overhaul doxygen comments 7 years ago
effects.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
effects.h Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
egl_context_attribute_builder.cpp Request a high-priority EGL contexts 8 years ago
egl_context_attribute_builder.h [qpa] Use the new OpenGLContextAttributeBuilder to create Qt's OpenGL context 9 years ago
events.cpp Overhaul doxygen comments 7 years ago
fixqopengl.h Fix the build on armhf/aarch64 8 years ago
focuschain.cpp Use explicit Chain type in the focus chain 8 years ago
focuschain.h Use explicit Chain type in the focus chain 8 years ago
geometry.cpp Compute correct boundaries in checkWorkspacePosition 7 years ago
geometrytip.cpp Port to CMake AUTOMOC 10 years ago
geometrytip.h
gestures.cpp Fix build with clang and GCC6 9 years ago
gestures.h Fix minor Doxygen issues 7 years ago
globalshortcuts.cpp Don't try to filter null key combinations 8 years ago
globalshortcuts.h Overhaul doxygen comments 7 years ago
group.cpp Overhaul doxygen comments 7 years ago
group.h
idle_inhibition.cpp Use appropriate sequence algorithms in IdleInhibition 7 years ago
idle_inhibition.h Use appropriate sequence algorithms in IdleInhibition 7 years ago
input.cpp Use more accurate name for Workspace::getMovingClient method 7 years ago
input.h [xwl] Drag and drop between Xwayland and Wayland native clients 7 years ago
input_event.cpp Pass SwitchEvent from LibInput through KWin and add to DebugConsole 8 years ago
input_event.h Pass SwitchEvent from LibInput through KWin and add to DebugConsole 8 years ago
input_event_spy.cpp Pass SwitchEvent from LibInput through KWin and add to DebugConsole 8 years ago
input_event_spy.h Pass SwitchEvent from LibInput through KWin and add to DebugConsole 8 years ago
internal_client.cpp [wayland] Make sure that only the fading popups effect animates outline 7 years ago
internal_client.h [wayland] Make sure that only the fading popups effect animates outline 7 years ago
keyboard_input.cpp Remove X clipboard sync helper and rename its autotest 7 years ago
keyboard_input.h Overhaul doxygen comments 7 years ago
keyboard_layout.cpp Make the Keyboard Layout SNI passive 7 years ago
keyboard_layout.h Introduce support for keyboard layout switching policies 9 years ago
keyboard_layout_switching.cpp Use end() instead of constEnd() for where we compare to an iterator 9 years ago
keyboard_layout_switching.h Add support for keyboard layout switching policy "winclass" 9 years ago
keyboard_repeat.cpp Split Keyboard Repeat handling into a dedicated InputEventSpy 9 years ago
keyboard_repeat.h Split Keyboard Repeat handling into a dedicated InputEventSpy 9 years ago
killwindow.cpp Use OnScreenNotification in kill window 9 years ago
killwindow.h Support interactive window selection through the Platform 9 years ago
kwin.kcfg Drop OpenGL based color correction from KWin 9 years ago
kwin.notifyrc SVN_SILENT made messages (.desktop file) - always resolve ours 7 years ago
kwinbindings.cpp Use Meta+D to Show Desktop by default 7 years ago
layers.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
logind.cpp remove superfluous code 7 years ago
logind.h logind: Add a function that detects the logind seat. 8 years ago
main.cpp [autotests] Use Xwayland class in WaylandTestApplication 7 years ago
main.h [autotests] Use Xwayland class in WaylandTestApplication 7 years ago
main_wayland.cpp Fix wrong command line argument name 7 years ago
main_wayland.h [wayland] Keep application startup flow inside main_wayland 7 years ago
main_x11.cpp Also unset QT_SCALE_FACTOR 7 years ago
main_x11.h Move everything KCrash related from Application to ApplicationX11 10 years ago
manage.cpp Make Compositor::finish more generic 7 years ago
modifier_only_shortcuts.cpp Track the actual pressed keys in ModifierOnlyShortcuts 9 years ago
modifier_only_shortcuts.h Track the actual pressed keys in ModifierOnlyShortcuts 9 years ago
moving_client_x11_filter.cpp Use more accurate name for Workspace::getMovingClient method 7 years ago
moving_client_x11_filter.h Move X11 movingClient handling into a dedicated X11EventFilter 9 years ago
netinfo.cpp Support NET_WM_STATE_FOCUSED 7 years ago
netinfo.h Overhaul doxygen comments 7 years ago
onscreennotification.cpp Drop invalid .moc file inclusion 8 years ago
onscreennotification.h Add support for skip close animation to OnScreenMessage 9 years ago
options.cpp Try all supported Compositor Types of the current Platform 9 years ago
options.h Overhaul doxygen comments 7 years ago
org.kde.KWin.VirtualDesktopManager.xml [wayland] Use the new plasma virtual desktop protocol 7 years ago
org.kde.KWin.xml Add a dbus method getWindowInfo returning same data as queryWindowInfo 7 years ago
org.kde.kappmenu.xml Restore global menu support 9 years ago
org.kde.kwin.ColorCorrect.xml [colorcorrection] Night Color - blue light filter at nighttime 8 years ago
org.kde.kwin.Compositing.xml [kcmkwin/compositing] Hide config options which don't make sense if Compositing is required 10 years ago
org.kde.kwin.Effects.xml
org.kde.kwin.OrientationSensor.xml Add DBus interface to OrientationSensor and a persistent configuration 8 years ago
orientation_sensor.cpp Initialise the orientation sensor at start 7 years ago
orientation_sensor.h Initialise the orientation sensor at start 7 years ago
osd.cpp Add support for skip close animation to OnScreenMessage 9 years ago
osd.h Add support for skip close animation to OnScreenMessage 9 years ago
outline.cpp [wayland] Make sure that only the fading popups effect animates outline 7 years ago
outline.h Overhaul doxygen comments 7 years ago
outputscreens.cpp Refactor getters in OutputScreens 7 years ago
outputscreens.h Refactor getters in OutputScreens 7 years ago
overlaywindow.cpp Move the X11 specific OverlayWindow into the platform/x11 9 years ago
overlaywindow.h Move the X11 specific OverlayWindow into the platform/x11 9 years ago
placement.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
placement.h Overhaul doxygen comments 7 years ago
platform.cpp Remove unused check 8 years ago
platform.h Restrict available supported compositors based on first initialized one 7 years ago
pointer_input.cpp Use more accurate name for Workspace::getMovingClient method 7 years ago
pointer_input.h Overhaul doxygen comments 7 years ago
popup_input_filter.cpp Cancel popup if the user clicked window decoration of parent window 9 years ago
popup_input_filter.h Initial support for popup window handling 9 years ago
rootinfo_filter.cpp Create a dedicated X11EventFilter for the events used by RootInfo 9 years ago
rootinfo_filter.h Create a dedicated X11EventFilter for the events used by RootInfo 9 years ago
rules.cpp Port window specific rules dialog to DBus 7 years ago
rules.h Port away from deprecated qFind 7 years ago
scene.cpp Verify that there is no scene windows when Scene is about to be destroyed 7 years ago
scene.h Add addToplevel and removeToplevel to Scene 7 years ago
screenedge.cpp Fix corner screen glows that suddenly pop up 7 years ago
screenedge.h Overhaul doxygen comments 7 years ago
screenlockerwatcher.cpp Delay query whether screenlocker is registered till WaylandServer is initialized 10 years ago
screenlockerwatcher.h [autotests/integration] Add ScreenLockerWatcher to the Test::lockScreen and ::unlockScreen 10 years ago
screens.cpp Load Kwin's internal cursors for the highest resolution of attached monitors 8 years ago
screens.h Overhaul doxygen comments 7 years ago
settings.kcfgc
shadow.cpp Avoid deleting ourselves midway through updateShadow 7 years ago
shadow.h Update URLs to use https 7 years ago
shell_client.cpp Revert "Handle XdgShell window geometry in configure request sizes" 7 years ago
shell_client.h Revert "Handle XdgShell window geometry in configure request sizes" 7 years ago
shortcutdialog.ui
sm.cpp Make session loading/saving helpers local to sm.cpp 7 years ago
sm.h Revert "Remove saving and loading (and client matching by) WM_COMMAND." 10 years ago
tabgroup.cpp Port TabGroup from Client to AbstractClient 8 years ago
tabgroup.h Overhaul doxygen comments 7 years ago
tabletmodemanager.cpp Make it possible to autodetect the tablet mode 7 years ago
tabletmodemanager.h Make it possible to autodetect the tablet mode 7 years ago
thumbnailitem.cpp Switch ThumbnailItem to internal uuid instead of WId 7 years ago
thumbnailitem.h Switch ThumbnailItem to internal uuid instead of WId 7 years ago
toplevel.cpp Overhaul doxygen comments 7 years ago
toplevel.h Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
touch_hide_cursor_spy.cpp Hide mouse cursor when interacting with touch screen 7 years ago
touch_hide_cursor_spy.h Hide mouse cursor when interacting with touch screen 7 years ago
touch_input.cpp Leave decoration on touch up only once 7 years ago
touch_input.h Unset touch targets on no current touch points 7 years ago
udev.cpp [platform/virtual] Drop support for vgem and rendernode 7 years ago
udev.h [platform/virtual] Drop support for vgem and rendernode 7 years ago
unmanaged.cpp Move Unmanaged-specific hack away from Toplevel::setupCompositing 7 years ago
unmanaged.h Move Unmanaged-specific hack away from Toplevel::setupCompositing 7 years ago
useractions.cpp Use more accurate name for Workspace::getMovingClient method 7 years ago
useractions.h [wayland] Use the new plasma virtual desktop protocol 7 years ago
utils.cpp Make it easier to debug the virtualkeyboard 7 years ago
utils.h Support CriticalNotification type and place it in a CriticalNotificationLayer 7 years ago
virtual_terminal.cpp Fix build with future glibc (major/minor macros) 10 years ago
virtual_terminal.h
virtualdesktops.cpp Send done event after the number of rows has been changed 7 years ago
virtualdesktops.h Overhaul doxygen comments 7 years ago
virtualdesktopsdbustypes.cpp [wayland] Use the new plasma virtual desktop protocol 7 years ago
virtualdesktopsdbustypes.h [wayland] Use the new plasma virtual desktop protocol 7 years ago
virtualkeyboard.cpp Fix crash on closing 7 years ago
virtualkeyboard.h virtualkeyboard: resize the focused window to make room for the keyboard 7 years ago
virtualkeyboard_dbus.cpp Add DBus protocol to virtual keyboard 9 years ago
virtualkeyboard_dbus.h Add DBus protocol to virtual keyboard 9 years ago
was_user_interaction_x11_filter.cpp Create a dedicated X11EventFilter for recognizing first user interaction 9 years ago
was_user_interaction_x11_filter.h Create a dedicated X11EventFilter for recognizing first user interaction 9 years ago
wayland_cursor_theme.cpp Load Kwin's internal cursors for the highest resolution of attached monitors 8 years ago
wayland_cursor_theme.h Set specific edge cursor shape when resizing 8 years ago
wayland_server.cpp Fix tests 7 years ago
wayland_server.h [xwl] Drag and drop between Xwayland and Wayland native clients 7 years ago
window_property_notify_x11_filter.cpp Clean up includes 8 years ago
window_property_notify_x11_filter.h Add a dedicated X11EventFilter for forwarding property events to the effect system 9 years ago
workspace.cpp Don't crash when highlighted tabbox client is closed 7 years ago
workspace.h Make session loading/saving helpers local to sm.cpp 7 years ago
x11eventfilter.cpp Support multiple event types in X11EventFilter 9 years ago
x11eventfilter.h Overhaul doxygen comments 7 years ago
xcbutils.cpp Update URLs to use https 7 years ago
xcbutils.h Overhaul doxygen comments 7 years ago
xkb.cpp Support enabling numlock on startup 7 years ago
xkb.h Support enabling numlock on startup 7 years ago
xkb_qt_mapping.h Support mapping QKeyEvent to xkb_keysym_t 9 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.