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 7706e17d94 Port away from deprecated KIconLoader::IconSize
Summary: Use `QStyle::pixelMetrics` instead

Test Plan:
No compiler warning
Icon still happily bounces on application launch

Reviewers: #kwin, davidedmundson, broulik

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Maniphest Tasks: T11637

Differential Revision: https://phabricator.kde.org/D27726
5 years ago
autotests [autotests] Fix PointerInputTest::testCursorImage() 5 years ago
cmake/modules Decode full monitor vendor name from EDID using hwdata 5 years ago
colorcorrection Make sure attribute is defined 5 years ago
data
decorations Revert "[kcm/effects] Clip ListView" 5 years ago
doc Remove the "Candy" category and fold its contents into "Appearance" 5 years ago
effects Port away from deprecated KIconLoader::IconSize 5 years ago
helpers
kcmkwin Remove the "Candy" category and fold its contents into "Appearance" 5 years ago
kconf_update
libinput [libinput] Send touch events with respect to device rotation 5 years ago
libkwineffects [libkwineffects] Set original backend framebuffer for render targets 5 years ago
platformsupport
plugins [platforms/drm] Fix cursor output rotation 5 years ago
qml
scripting
scripts
tabbox
tests Revert "[kcm/effects] Clip ListView" 5 years ago
xwl
.arcconfig
.arclint
CMakeLists.txt Decode full monitor vendor name from EDID using hwdata 5 years ago
COPYING
HACKING.md Revert "[kcm/effects] Clip ListView" 5 years ago
KWinDBusInterfaceConfig.cmake.in
Mainpage.dox
Messages.sh
README.md
TESTING.md
abstract_client.cpp [wayland] Honor xdg-toplevel size constraints 5 years ago
abstract_client.h Refactor geometry constraints code 5 years ago
abstract_opengl_context_attribute_builder.cpp
abstract_opengl_context_attribute_builder.h
abstract_output.cpp
abstract_output.h
abstract_wayland_output.cpp Cache output transformation first 5 years ago
abstract_wayland_output.h [libinput] Send touch events with respect to device rotation 5 years ago
activation.cpp
activities.cpp Drop some custom list typedefs 5 years ago
activities.h
appmenu.cpp
appmenu.h
atoms.cpp
atoms.h
client_machine.cpp
client_machine.h
composite.cpp
composite.h
config-kwin.h.cmake Decode full monitor vendor name from EDID using hwdata 5 years ago
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 Revert "[kcm/effects] Clip ListView" 5 years ago
effects.h Revert "[kcm/effects] Clip ListView" 5 years ago
egl_context_attribute_builder.cpp
egl_context_attribute_builder.h
events.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
fixqopengl.h
focuschain.cpp
focuschain.h
geometrytip.cpp
geometrytip.h
gestures.cpp
gestures.h
globalshortcuts.cpp
globalshortcuts.h
group.cpp
group.h Drop some custom list typedefs 5 years ago
idle_inhibition.cpp
idle_inhibition.h
input.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
input.h
input_event.cpp
input_event.h
input_event_spy.cpp
input_event_spy.h
internal_client.cpp Honor minimum and maximum size of InternalClient 5 years ago
internal_client.h Honor minimum and maximum size of InternalClient 5 years ago
keyboard_input.cpp
keyboard_input.h Use more traditional doxygen style 5 years ago
keyboard_layout.cpp
keyboard_layout.h Introduce support for keyboard layout switching policies 8 years ago
keyboard_layout_switching.cpp
keyboard_layout_switching.h
keyboard_repeat.cpp
keyboard_repeat.h
killwindow.cpp
killwindow.h
kwin.kcfg
kwin.notifyrc
kwinbindings.cpp
layers.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
linux_dmabuf.cpp
linux_dmabuf.h
logind.cpp
logind.h
main.cpp
main.h
main_wayland.cpp
main_wayland.h
main_x11.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
main_x11.h
modifier_only_shortcuts.cpp
modifier_only_shortcuts.h Track the actual pressed keys in ModifierOnlyShortcuts 8 years ago
moving_client_x11_filter.cpp
moving_client_x11_filter.h
netinfo.cpp
netinfo.h
onscreennotification.cpp
onscreennotification.h
options.cpp
options.h
org.kde.KWin.Session.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 Fix orientation sensor DBus 5 years ago
orientation_sensor.h
osd.cpp
osd.h Add support for skip close animation to OnScreenMessage 8 years ago
outline.cpp
outline.h
outputscreens.cpp
outputscreens.h
overlaywindow.cpp
overlaywindow.h
placement.cpp Refactor geometry constraints code 5 years ago
placement.h
platform.cpp
platform.h
pointer_input.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
pointer_input.h
popup_input_filter.cpp
popup_input_filter.h Rename ShellClient to XdgShellClient 5 years ago
rootinfo_filter.cpp
rootinfo_filter.h
rules.cpp Refactor geometry constraints code 5 years ago
rules.h
scene.cpp
scene.h
screenedge.cpp
screenedge.h
screenlockerwatcher.cpp
screenlockerwatcher.h
screens.cpp
screens.h
settings.kcfgc
shadow.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
shadow.h Revert "[kcm/effects] Clip ListView" 5 years ago
shortcutdialog.ui
sm.cpp
sm.h
tablet_input.cpp
tablet_input.h
tabletmodemanager.cpp
tabletmodemanager.h
thumbnailitem.cpp
thumbnailitem.h
toplevel.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
toplevel.h Revert "[kcm/effects] Clip ListView" 5 years ago
touch_hide_cursor_spy.cpp
touch_hide_cursor_spy.h
touch_input.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
touch_input.h
udev.cpp
udev.h
unmanaged.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
unmanaged.h
useractions.cpp
useractions.h
utils.cpp
utils.h
virtual_terminal.cpp
virtual_terminal.h
virtualdesktops.cpp Add default shortcut to switch to the desktop to the left/right/top/bottom 5 years ago
virtualdesktops.h
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h
virtualkeyboard.cpp Revert "[kcm/effects] Clip ListView" 5 years ago
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
wayland_server.h
window_property_notify_x11_filter.cpp
window_property_notify_x11_filter.h
workspace.cpp
workspace.h
x11client.cpp Return early if we ignore resize increments and aspect ratio constraints 5 years ago
x11client.h Refactor geometry constraints code 5 years ago
x11eventfilter.cpp
x11eventfilter.h
xcbutils.cpp
xcbutils.h
xdgshellclient.cpp [wayland] Honor xdg-toplevel size constraints 5 years ago
xdgshellclient.h [wayland] Honor xdg-toplevel size constraints 5 years ago
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.