Reference articles on history, science, culture and more
Encyclopedia

KWin

KDE window manager for Wayland and previously X11

Image credit is listed at the end of this article.

KWin is a Wayland compositor and was an X window manager. It is released as a part of KDE Plasma, for which it is the default window manager. KWin can also be used on its own or with other desktop environments.

KWin can be configured by scripting using QML or QtScript, both of which are based on ECMAScript.

01History

NameVersionDetails
KWM1.0
KWin2.0Extended support for themes and window effects.
3.0Improved support for the extended ICCCM standards from freedesktop.org.
4.0Compositing support and Compiz-like effects.
4.4Released February 2010, maximizing and tiling by snapping to the screen-edges, grouping and tabbing.
4.5Tiling. (removed in version 4.10)
4.9Incompatible API change.
4.11Last release based on KDE Platform 4, added experimental Wayland support.
5.0Released July 2010 and first release based on KDE Frameworks 5 and Qt 5.
5.12Released February 2018, KWin/X11 got feature frozen, meaning no new X11 specific features will be added. Martin Flöser stated that new features are easy and straight forward with the Wayland back-end, but require considerably more development to add the same feature to the X11 back-end.
6.0Released February 2024.
KDE mascot, Konqi, managing and moving windows
KDE mascot, Konqi, managing and moving windows

02Look and feel

There are many window decorations for KWin, including the current default Breeze (shown below), the previous default Oxygen, Microsoft Windows-like Redmond, and Keramik.

KWin with the Breeze window decoration
KWin with the Breeze window decoration

03Compositing

Currently available compositing backends include OpenGL 1.2, OpenGL 2.0, OpenGL 3.1 and OpenGL ES 2.0.

Included effects

As of KDE 4.3, the following effects are built-in:

Accessibility

NameDescription
InvertInverts the color of the desktop and windows
Looking glassA screen magnifier that looks like a fish eye lens
MagnifierMagnify the section of the screen that is near the mouse cursor
SharpenMakes the entire desktop look sharper
Snap HelperHelps locate the centre of the screen when moving a window
Track mouseDisplay a mouse cursor locating effect when activated
ZoomMagnify the entire desktop

Appearance

NameDescription
ExplosionMake windows explode when they are closed
FadeMake windows smoothly fade in and out when they are shown or hidden
Fade DesktopFade between virtual desktops when switching between them
Fall apartClose windows fall into pieces
Highlight WindowsHighlight the appropriate window when hovering over taskbar entries
LoginSmoothly fade to the desktop when logging in
LogoutDesaturate the desktop when displaying the logout dialog
Magic LampSimulate a magic lamp when minimizing windows
Minimize animationAnimate the minimizing of windows
Mouse markAllows you to draw lines over your desktop
Scale InAnimate the appearance of windows
SheetMake modal dialogues smoothly fly in and out when shown or hidden
SlideSlide windows across the screen when switching virtual desktops
Sliding popupsSliding animation for Plasma Popups
Taskbar ThumbnailsDisplay window thumbnails when hovering over taskbar entries
Thumbnail asideDisplay window thumbnails on the edge of the screen
TranslucencyMake windows translucent under different conditions
Wobbly windowsDeform windows while they are moving

Candy

NameDescription
SnowSimulate snow falling on the desktop

Focus

NameDescription
Dialog parentDarkens the parent windows of the currently active dialogue
Dim InactiveDarken inactive windows
Dim screen for administrator modeDarkens the entire screen when requesting root privileges
Slide BackSlide back windows losing focus

Tools

NameDescription
Show FPSShow kwins performance in the corner of the screen
Show PaintHighlight areas of the desktop that have been recently updated

Window management

NameDescription
Box switchRemoved in latest versions, no longer available.
Cover switchRemoved in latest versions, no longer available.
Desktop gridZoom out so all desktops are displayed side-by-side in a grid
Flip switchRemoved in latest versions, no longer available.
Present windowsZoom out until open windows can be displayed side by side
Resize WindowEffect to outline geometry while resizing a window
Screenshot showing the cover switch effect in KWin for KDE 4.1
Screenshot showing the cover switch effect in KWin for KDE 4.1
Watch videos about KWinExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article KWin, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.