My KWIN fork where I work on features like per-output virtual desktops
Find a file
Vlad Zahorodnii 11a5513e78 Avoid moving the window while it's maximized
Unlike X11, on Wayland, the window won't change its maximize mode until
it renders a new buffer. This creates a problem for interactive move
because if it's not careful and moves the window while it's still effectively
maximized, it will look as if the window has leaked to other screens.

This change fixes the problem by making Window::handleInteractiveMoveResize()
avoid move() if the window needs to be unmaximized.

As a bonus, it also allows to unmaximize the windows that are maximized
along only one dimension by dragging them.

Unfortunately, tiling stuff still suffers from the same issue. In order
to fix it, Window::tile() has to be part of double buffered state, like
Window::maximizeMode().

BUG: 449105
BUG: 459218
CCBUG: 482085
2024-03-15 18:00:52 +00:00
autotests Avoid moving the window while it's maximized 2024-03-15 18:00:52 +00:00
cmake/modules Drop Qt6WaylandClientMacros.cmake fork 2023-04-23 18:18:34 +00:00
data Remove unneeded includes from headers and cpp files 2024-01-13 11:34:45 +01:00
doc doc/windowbehavior: Remove removed "Active screen follows mouse" option 2024-03-12 23:54:17 +01:00
examples examples: Fix License metadata 2024-03-05 11:02:37 +00:00
kconf_update Remove invalid tabbox configs from defaults 2024-02-29 11:14:31 +00:00
LICENSES Remove unused license file 2022-08-23 17:41:55 +02:00
po GIT_SILENT Sync po/docbooks with svn 2024-03-15 01:38:30 +00:00
src Avoid moving the window while it's maximized 2024-03-15 18:00:52 +00:00
tests Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
.clang-format
.gitignore Add .directory to .gitignore 2024-03-07 17:20:53 +08:00
.gitlab-ci.yml Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
.kde-ci.yml ci: Add plasma-workspace to RuntimeDependencies 2023-12-21 10:40:41 +00:00
CMakeLists.txt xwayland: Add unit test for XWayland key tracking 2024-03-03 12:41:15 +00:00
CONTRIBUTING.md Fix link to Frameworks Coding Style in CONTRIBUTING 2024-01-14 21:15:26 +00:00
KWinDBusInterfaceConfig.cmake.in plugins/nightcolor: Rename d-bus interface 2024-02-08 14:24:51 +00:00
logo.png
Mainpage.dox
plasma-kwin_wayland.service.in systemd: Set up a watchdog 2024-02-22 16:47:35 +00:00
plasma-kwin_x11.service.in
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.

Contributing to KWin

Please refer to the contributing document for everything you need to know to get started contributing to KWin.

Contacting KWin development team

  • mailing list: kwin@kde.org
  • IRC: #kde-kwin on irc.libera.chat

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.

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.