Integrate KWin patches (2020-06-07 - 2020-09-17)
Commits since last pick !22 (merged) at master branch (2020-06-07):
c2126f9ce Merge branch 'Plasma/5.19'
until:
c5a90a158 (tag: v5.19.90) Update version number for 5.19.90 GIT_SILENT
❤ To be picked
6f1e72886 simple for -> foreach on a hot path
06e26212a Add missing const-referenece
07763229e Remove explicit ECM_KDE_MODULE_DIR
651b0df30 Make WindowQuadList a QVector
474060a45 Improve loop implementations in WindowQuadList
c7c35513b Port TestTabBoxClientModel away from deprecated QWeakPointer::data()
a1fe70baa Port some tests away from a deprecated QProcess::start() overload
eafe23b27 Hopefully fix the build on BSD
53cb4207e scenes/opengl: Use std::array to store lanczos kernel data
e14a01116 [effects/fullscreen] Add effect that animates full screen changes
76fbb4379 Reduce repeated Screens::scale(int)
75321a216 Don't check if there's a non-rendered output twice
a7ecaa55e Prefer constant iterators when we don't change the container
bfb257c9e kcmkwin/tabbox: Port away from deprecated KTitleWidget::setPixmap()
6acf35e4c Avoid QPointer in return types of Input methods
e563b83b4 Make ScreenShotEffet::screenshotScreen return native screen sized images in Wayland case
e900dc3b5 qpa: remove unused override for the inputcontext
2d1f276c2 Fix warning
12e428bd3 plugins/windowsystem: Adjust installation path
889814a8c Fix a typo
8303a4cdf Make GL Context current when deleting lanczos textures in timer hander.
0f588c256 Drop empty X-KDE-PluginInfo-Depends
b2792ae3c effects/slidingpopups: Properly clip windows
ed113171f effects: Disable blur and contrast effect when screen is locked
87ff6e4b4 Port away from deprecated Qt::MidButton
0d3c20d38 Clear plugins after changing KNS entires
5ba3793cf [kcmkwin/kwinoptions] Add option to disable window position memory for KDE apps
4e481d0e6 Add uninstall button for kwin scripts
bde274eb7 Fix KNS deprecations
b73db9fd6 Port knsrc file to explicit syntax for kpackage
571ca776c Screenshot effect: Convert a couple foreach loops
fb118a934 Expose the toplevel's pid in the scripting API
cba895e72 fix: keyboard layout applet doesn't show actual layout
ed0b0ee92 [effects/cubeslide] Keep sticky windows on top of the cube by default
9a8b6f730 Make ScreenShotEffect::screenshotScreen return native screen sized images
b4b0b9318 qpa: Don't delete platform screens manually
b755e6d91 Fix using --scale on kwin_wayland windowed mode
be2287634 Don't double-delete Window::handle
71de41a57 Don't leak screens when cleaning up
8de0f8223 Fix compiler warning
61ab042d7 Don't leak QTimer
c6393a936 Screenshot effect: factorize code
3450adf5d [tabbox] Fix for Window Switcher
a15966c72 Port away from KMimeTypeTrader
16f74986f Expose effect ID to scripting via `effect.pluginId`
147ee7726 Clean xkb debug output of empty lines
2a9971fa0 Disable AnimationEffects when the screen is locked
cc862fa67 [focuschain/task switcher] Remove special handling for minimized windows
159fbc5ec Fix clipped shadows on useraction menus, when wayland and desktop scaling is enabled.
40b52eb4a Discard sub-pixel movements in gestures
e41c5af67 Expose transientFor and only blur underneath when transientParent is dock
405841caf Install service files for kwin
d4ec18d84 Fix build
678944ceb xwayland: Remove mysterious Q_FALLTHROUGH macros
def9817a7 fix:Check image map nullptr error
03b12d1df drm: Use introspection to print enums
29064f088 screencast: Address minor issues
5a73f4a35 screencast: Move creation of the global to manager
4eda4d2b5 drm: prevent cursor buffer leakage
edb615939 drm: we must not call showCursor when softwareCursor is on
83aa8dccd [virtualdekstops] Drop multi-head from VirtualDesktopManagement
4921acf45 Grab all possible keyboard modifiers for window commands
3609a029e KCM KWin Options setting ActiveMouseScreen set proper default value
ef81ae3f9 Resize maximised windows upon workspace change
7f1abd5da Allow testing transformations on windowed KWin
271725286 Partially revert a0c4a8e766a2160
0fad9cc86 KCM KWin Options : propagate defaultsIndicatorVisibleChanged to children KCModule
0bb05d4b1 make keyboard layout DBus API more reliable
8e1018de2 save default keyboard layout
27ceaf979 Only call VirtualDesktops::load once
cae982847 Don't perform MouseActivateRaiseAndPassClick for topmost windows
3cdfdeb98 deprecate --libinput option
3a74be2df [autotests] Don't change screens during cleanup
0c67eb983 [decorations] Fix rendering for depth 30 (10bpc)
72cd67cbf [scripts/videowall] Reenable the config dialog
9e1bb1f13 [autotests] Fix warning
84b8d866e Prevent move/resize event when handling a maximize event
2d13bc3aa Prevent move/resize event when handling set full screen event
0ef5ddfd4 [drm] Do not blank crtc in atomic mode
fdbca44d3 Use monochrome icon for keyboard layout sni
ad3d2f5ac Provide a mask for flag-type properties (window types)
8b9472e0b [kcm/kwinrules] Fix types property for NET::AllTypesMask
a0c4a8e76 [x11] Force FocusIn events for already focused windows
3bfc750a7 [kcm/kwinrules] Fix detection of wmclass property
ec5a0249e [x11] Hold a passive grab on buttons only when needed
170741c49 KCM KWin Decoration : kcfgc File attribute should point to kcfg file
e1b5fc9fa The old behavior before D28224 was (X + Y) instead of (X + X)
e459c8bf5 No need to recalculate the matrix if yInverted doesn't change
e1bf133de Fix support for systems with age disabled
a8979aa4e KCM Compositing: Fix save state
494b67d61 [autotests] Fix quick tile autotest race condition
396a9da55 KCMoptions: delay initialization after QObject creation in standalone
bc2df9f84 [x11] Provide physical dimensions for outputs
e3df2e15a ScreenshotEffect: Use Service Property to authorize screenshot without confirmation
87578bfc1 Allow corner-tiling by quickly combining edge tiling shortcuts
e307038f8 [kcm/kwinrules] Fix slow scrolling through rules list
e9c68f36b [x11] Send a valid timestamp in TakeFocus messages
💛 Picked with reservations
afdd5b84c effects/blur: Remove leftovers after blur cache
- Not sure if the blur cache is unused in KWinFT too
💔 Won't be picked
c5a90a158 (tag: v5.19.90) Update version number for 5.19.90 GIT_SILENT
8ae28df62 Update qt5 version requirement to 5.15.0 GIT_SILENT
b416e204e Update kf5 version requirement to 5.74 GIT_SILENT
54b654dca SVN_SILENT made messages (.desktop file) - always resolve ours
3925ff563 enable wayland opaque region
bd7f758ac screencasting: Mark the stream as dirty from the start
fec4e058e Do not try to create a gbm dmabuf when gbm is not available
f5900a5fd SVN_SILENT made messages (.desktop file) - always resolve ours
8026da530 SVN_SILENT made messages (.desktop file) - always resolve ours
259ef70dd Remove input method leftovers in XdgToplevelClient
5a0a86c35 Fix unused variable warnings
3aca5bfa6 Don't recreate the WindowQuadList when we are using it
a6f803cde Prefer appending vector to a vector with += rather than a custom implementation
7b99a2805 Fix email address
9663dd5fb Adjust screencast service to recent kwayland-server changes
2b241d308 Properly handle opaque regions for CSD X11 windows
c0da7faa6 xwayland: Don't exit if failed to read DISPLAY
8697bcd7e xwayland: Avoid printing "FATAL ERROR" log messages
b13a74c90 xwayland: Replace criticalError() signal with a less fatal signal
6dbc06059 autotests: Use new xdg-shell helpers in ToplevelOpenCloseAnimationTest
2691b84c9 autotests: Introduce helper classes for testing xdg-shell clients
fe68ddd9a Initialize fields of the Workspace class in correct order
8a788b71c Slightly improve code readability
e5dd5b6a7 Replace some if statements with a switch statement
3805f212e autotests: Remove XdgShellSurfaceType enum
81a9b824c SVN_SILENT made messages (.desktop file) - always resolve ours
c7d903754 SVN_SILENT made messages (.desktop file) - always resolve ours
72ab500ec SVN_SILENT made messages (.desktop file) - always resolve ours
b720b4237 SVN_SILENT made messages (.desktop file) - always resolve ours
7e9bec6fd Use consistent naming pattern for wayland shell integrations
631276e3c Unset virtual keyboard geometry when the input panel surface is unmapped
88829de9d wayland: Refactor creation of input panel clients
b3f324854 screencast: Switch to new outputScreencastRequested() signal
790ddc090 Remove WaylandClient::isInputMethod()
33e037d45 Remove InternalClient::isInputMethod()
a457bd431 SVN_SILENT made messages (.desktop file) - always resolve ours
d3cca65d3 Implement the layer-shell v1 protocol
7be4ab97e Move XdgSurfaceClient::cleanTabBox() to WaylandClient
e2aaff63f Port InputPanelV1Client to WaylandClient's geometry helpers
fde34f3c5 Introduce geometry sync mode flags
7029d9c57 Move XdgSurfaceClient::cleanGrouping() to WaylandClient
085284921 Introduce a property to indicate if client is placeable
578d34dba Introduce Platform::findOutput(int) overload
6cfee149e Move AbstractWaylandOutput::geometryChanged() to AbstractOutput
4296a38a3 Move geometry handling code from XdgSurfaceClient to WaylandClient
a9fd5ac19 Move struts logic to AbstractClient
4b978bb40 wayland: Switch to generic xdg_popup parent property
29a960c39 Set the skip switcher flag for InputPanelV1Client surfaces
d71a8ed33 Don't set keep above state for InputPanelV1Client
31e881d0e virtualkeyboard: close keyboard when focused text input goes away
b2f30e7d7 testScreenEdges: no need to wait twice for Screens::changed
9fc09b9a3 virtualkeyboard: update the input panel state when textinput requests it
f93af9132 virtualkeyboard: remove unused event overrides
97c0270cd Send surroundingText and content hints/purpose to inputmethod
3c756a44d SVN_SILENT made messages (.desktop file) - always resolve ours
848f7f317 Revert "plugins/drm: Link against Wayland::Server"
efb9e0edb plugins/drm: Link against Wayland::Server
5903c5be0 Fix testScreenEdges for good
6d59c0b4e Small TestScreenEdges simplification
b92b0b0a7 Fix testScreenEdges test with ASAN
f55ae1578 Remove unused wayland-cursor.h includes
b8a16d4ab xwayland: Properly handle xcb_connect_to_fd() failures
bfcf312e3 Drop unused libwayland-cursor dependency
f5a75e70d Fix ASAN warning
9750a3806 test: add test for edges on mostly overlapping outputs
001761cea fix(space): check edges for nearly complete screen overlap
97f4712f2 Fix size restore upon keyboard close in XdgSurfaceClient
f894976e2 xwayland: Don't start Xwayland if it's already running
a6ff3001c xwayland: Send a notification when Xwayland crashes
432cfb44c xwayland: Restart the Xwayland server after it has crashed
472b5e7f9 autotests: Fix the license header in a test
788c65d26 Fix Build Warning
d97f12c1c wayland: Expose tiled state to xdg-shell clients
0dda9dc7d Use namespace kwin only in autotests
90b53f416 Use universal helper for writing toplevels to QDebug streams
29afd62e9 Evaluate window rules only if they are supported
72eb1153d SVN_SILENT made messages (.desktop file) - always resolve ours
3e9b722f8 Explicitly indicate support for window rules
925bb4eea Adapt to XdgOutputManagerV1 changes
05e62f555 Don't override irrelevant methods in InputPanelV1Client
9a0444278 Add default handler for screen edge based activation
b36b3c67d Provide default implementation for noborder functionality
74da0bb70 Provide default implementation for AbstractClient::updateDecoration()
1c61de199 autotests: Clean up the outputs list when client connection is closed
9e74199e2 Refactor color scheme related code
eeeac0497 Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage
d5da36650 Add a generic Output::transformation method
eb00a5660 Show a warning message if calling an unimplemented method
40dca1c93 Implement window hiding in the WaylandClient class
c7e5680d6 Hide the keyboard if we type using the physical keyboard
3bb829d67 Don't try to reposition the input method client
2565e03eb Make sure the input methods stay in the unmanaged layer
664963c0d Kill the input method process when terminating the session
f266a7cfa Only allow access to zwp_input_* to the input method
3733e3e77 Remove embedded implementation of the Virtual Keyboard
7aabd45df Integrate input-method-unstable-v1
494c89a2d Introduce AbstractWaylandOutput::geometry
062f1c3c8 Let WaylandServer::findOutput tell us about an output given an OutputInterface
2ed00e4af Move XdgSurfaceClient::updateDepth to WaylandClient
2e8f4964e Drop XdgSurfaceClient::clientGeometry()
811af61e8 Remove unused xdgshellclient.h include
8810bf340 Remove unneeded includes of QDesktopWidget
c17677849 screencast: Enforce an initial window repaint when we start streaming
f237f273d xwayland: Drop unused method
e4f2c30f5 xwayland: Use KWIN_SINGLETON to make DataBridge a singleton
6f176660f Fix tests build
8baf535a7 xwayland: Make DataBridge a native event filter
c86d3b717 xwayland: Call handleXfixesNotify() directly from Selection
17a1640e6 Fix build
bd7624fdb tablet: transform coordinates according to the output transformations
1ad88bdf7 tablet: acknowledge that findTabletSeat might return nullptr
3a85b57ec Send out an additional TabletMove event before TabletPress.
c8433e519 Add missing contact marker angle brackets
4ce853e8e Prettify license headers
1fb9f6f13 Switch to SPDX license markers
307a9bc55 Avoid crash in KWin on Session leave
d71672a0d XdgPopupClient can also be a PlasmaShellSurface
d39c9bab2 SVN_SILENT made messages (.desktop file) - always resolve ours
51f926c06 Port Xwayland data bridge to xcbutils
e7d02ad35 Introduce X11 default screen property in Application
7ec93493c Stop Xwayland server when X11 connection breaks
5aef9da88 Lower message severity for KWIN_XWL
19ad17258 Survive Xwayland crashes
fff2bfe71 Clean up X11 connection setup code
707a02071 Add a simple test to check Xwayland dying
d4cd2b5a6 Account for OpenGLWindow::windowPixmap returning nullptr sometimes
901a9a237 make the panelAutoHideHideRequested callback also handle panels set to "windows can cover"
a7b922bfc screencast: Don't include platformsupport headers
2103b999e screencast: Address minor issues
76b9fb15e Apply 1 suggestion(s) to 1 file(s)
08722ff38 adapt shadow to Kwayland server Changes
69920044f Adapt dpms to Kwayland Server changes
b690858e3 adapt VirtualDesktop to Kwayland Server Changes
bac8d70c6 Fix build
b0f7dcee9 adapt xdg foreign to Kwayland Changes
16c7b29c3 adapt Idle to Kwaylans Server Changes
e6ba54a73 adapt idle inhibit to KWayland change
02fc40fa4 Make sure we don't leak the QPlatformFontDatabase using smart pointers
e15004ff9 SVN_SILENT made messages (.desktop file) - always resolve ours
a17a86999 Emit clientAdded for wayland clients
b4e271c66 Synchronize xcursor.c
1330abc93 Provide hotspot in the device independent pixels
487e2d9fb Hide Xcursor private data behind d pointers
9225848fb When maximizing a window raise client and gain focus
0ec34afdc On wayland, prevent changeMaximize to raise client
a051baf1a screencasting: still build if memfd isn't available
0a40880a3 Delete empty files
27951dc9e Only define PipeWire_FOUND if it's found
9438a2e1b Disable screencasting if there's no pipewire 0.3
e7b8a5ad5 Remove remote-access leftovers
4ddefd37b screencasting: Remove deprecated RemoteAccessManager interface
02042908a screencasting: implement wayland output streaming for egl and wayland backends
42e543c5b screencasting: implement intefraces to create dmabuf textures
38eb72efe screencasting: integrate zkde_screencast_unstable_v1
27ea1b952 screencasting: Expose necessary information to implement efficient screencasting
57e19874b drm_fourcc.h: only typedef uint32_t on the platforms it's needed
4c267c261 Adapt to changes in the PlasmaWindowManagement interface
29a2b2a35 Make it possible to specify KWin::GLTexture mutability
ff65bec92 Introduce a GLTexture::toImage helper class
1ef90d9c9 Add API to easily find Toplevels from their internal Id
fbbf96751 Workspace::findToplevel should iterate through allClients
a1c0d43de SVN_SILENT made messages (.desktop file) - always resolve ours
555885072 Check if we successfully restored input focus
80a31ab4b Make setFrameGeometry() re-entrant for X and internal clients
cf2712887 Update input transformation matrix when buffer geometry changes
c4c06c4e1 Notify about new client geometry also when moving windows
9c55c0176 Introduce a signal that notifies about new buffer geometry
fc839d8b2 Fix testActivities
5dbb52de6 Handle delayed start of Xwayland
97cf90269 Start accepting client connections after creating workspace
d1b35f306 Introduce started signal in Application
93a08ba94 Fix keyboard layout tests
4a6badc22 Ignore setActive() for windows that are being deleted
6139ea787 Destroy xdg shell clients when surface is still alive
036ad759e [wayland] Adapt to SurfaceInterface changes
6f640ece7 Adapt Contrast to new KWaylandServer
ae12cf978 adapt Decoration Server to KwaylandServer Change
bb138d766 Adapt EglStream to KwaylandServer
28d5a4e73 [virtualkeyboard] Fix the qtvirtualkeyboard with Qt 5.15
5463a5427 [wayland] Drop pointless xwayland connection check
8d861b475 adapt Decoration Server palettes to KWaylandServer Changes
e28e4cb18 Move inputConfig away from KWin::Application
89fca06bd Make sure tablet coordinates take decorations into account
6c9026628 Fix DrmOutput sometimes being freed with a pending pageflip, often when waking from sleep.
617650d44 [scene] Discard pixmaps on buffer size change
f7a67e0ed [wayland] Ignore decoration updates if initial state isn't committed yet
1013ee1bd [wayland] Queue maximize and fullscreen requests if initial state isn't committed yet
1b4c725d1 Update clientGeometry for Unmanaged windows
38691aa0e [xwl] Fix xcb to wayland clipboard
898bd496d Merge branch 'Plasma/5.19'
fa7fe7982 Merge branch 'Plasma/5.19'
578ede2dd Merge branch 'Plasma/5.18' into Plasma/5.19
6a42eccfe SVN_SILENT made messages (.desktop file) - always resolve ours
b62f687c3 SVN_SILENT made messages (.desktop file) - always resolve ours
4248f4d9a SVN_SILENT made messages (.desktop file) - always resolve ours
eb6e43933 Merge branch 'Plasma/5.19'
c03b4879f Merge branch 'Plasma/5.19'
61b55732a Tests: Add outputmanagement to test helper
ad73e1347 [wayland] Switch to SurfaceInterface::bufferScale()
c1b1fb0b2 (tag: v5.19.2) Update version number for 5.19.2 GIT_SILENT
34c1bccdb Fix build with loadThemeCursor templates
2af16f1ee Merge branch 'Plasma/5.19'
b5040fe42 SVN_SILENT made messages (.desktop file) - always resolve ours
7a3044332 SVN_SILENT made messages (.desktop file) - always resolve ours
c567d5174 Apply suggestion to xdgshellclient.cpp
3f1fb873d Apply suggestion to xdgshellclient.cpp
e02fe34e1 [wayland] Avoid debug recursion in XdgShellClients
9bc65e815 [autotests] Update PlasmaSurfaceTest to match recently changed behaviour
4a681e3d4 [scene] Discard quads when the surface-to-buffer matrix is changed
1d34d2922 Merge branch 'Plasma/5.19'
23113d38c Update cached client size when the client geometry has changed
cc3eb54b3 Introduce the client geometry in Toplevel
68ec39f43 [xwayland] Ensure that DataBridge is initialized prior to PropertyNotify
cb7a9456c [wayland] Rework Xcursor theme loading code
317bc74c8 [wayland] Simplify WaylandCursorImage
f3356b1f4 SVN_SILENT made messages (.desktop file) - always resolve ours
430ca2a33 SVN_SILENT made messages (.desktop file) - always resolve ours
c10fe06d0 SVN_SILENT made messages (.desktop file) - always resolve ours
da239b200 SVN_SILENT made messages (.desktop file) - always resolve ours
f79d4ba05 Merge branch 'Plasma/5.19'
cff2070ab Merge branch 'Plasma/5.18' into Plasma/5.19
8027ccd6d SVN_SILENT made messages (.desktop file) - always resolve ours
96774e79e [x11] Create egl scene textures with right size
0e117c49a SVN_SILENT made messages (.desktop file) - always resolve ours
da6c775d1 Merge branch 'Plasma/5.19'
e26f590dd Merge branch 'Plasma/5.19'
ed50b1b61 (tag: v5.19.1) Update version number for 5.19.1 GIT_SILENT
2c55df788 [wayland] Update to kwayland-server appmenu changes
7a861d07a Merge branch 'master' of https://invent.kde.org/plasma/kwin
d9154ef35 Merge branch 'Plasma/5.19'
83f536292 [xwl] Fix clipboard clearing after externally changed
ce5b9c361 SVN_SILENT made messages (.desktop file) - always resolve ours
c890996a3 [scene] Setup scene window connections with correct receiver object
430b63d13 [scene] Rename a scene window method
cb4dc0ff9 [scene] Make the scene window a qobject
f18deb69f SVN_SILENT made messages (.desktop file) - always resolve ours
❔ To decide
none
Edited by Roman Gilg