summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.6.2' in qt/qtwaylandv6.6.26.6.2Qt Submodule Update Bot2024-02-091-2/+2
| | | | | Change-Id: I7f7c1b4f5954525fc526f1e8b49353d29f2b5418 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6.2' in qt/qtwaylandQt Submodule Update Bot2024-01-311-2/+2
| | | | | Change-Id: I46091edd4b123fa7eed19839053be173f7bcfe71 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6.2' in qt/qtwaylandQt Submodule Update Bot2024-01-301-2/+2
| | | | | Change-Id: Ica358140310f577cb11348afdd5efe44c164b9a0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6.2' in qt/qtwaylandQt Submodule Update Bot2024-01-271-2/+2
| | | | | Change-Id: I54c27d2c2008e2c4d547360bfb1e98c5a3c05380 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6.2' in qt/qtwaylandQt Submodule Update Bot2024-01-251-2/+2
| | | | | Change-Id: If4c53ad637c67ebb274630120f941ecd52a3c895 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6.2' in qt/qtwaylandQt Submodule Update Bot2024-01-241-2/+2
| | | | | Change-Id: I1564eb2fe7ed45cba77a14b78f90f887be7d16fd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2024-01-221-2/+2
| | | | | Change-Id: I9716370621bea940ca5b7b6315a9cf0df3ca9acb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client texture cleanup: fix crash in clean-up lambdaThomas Senyk2024-01-182-0/+4
| | | | | | | | | | | | | | | | | | | | | The dtor of WaylandEgl[Stream]ClientBuffer used to only clean-up the aboutToBeDestroyed-connection/lambda if it's integration is still present. This was a pointless condition as that clean-up is not depending on the integration and can lead to access of dead memory (when the Buffer is already deleted but the lambda is then later called due to QOpenGLContext::aboutToBeDestroyed) Fixed by moving the clean-up into it's own scope (needs a scope due to QMutexLocker) Pick-to: 6.5 Change-Id: Ib3b6e54365f66484f249ee449cb3b27029f5ce7c Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit acce7bc40d287eff826cd97dbea595da3050669f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 01ef243b5478f249adf0532aa6639de462e9957d)
* client: Avoid creating decorations in the render threadDavid Edmundson2024-01-113-8/+3
| | | | | | | | | | | | | | | | | | createDecoration is called when on the main thread from when window flags change, implicitly from initWindow, and also every handleWindowStatesChanged which will be called when we get the first configure event in an xdg shell. There is no need to create the decoration in QWaylandGLContext::makeCurrent. Any current call to makeCurrent before the platform window is shown will not create a decoration as there's a check for a shell surface. Any call afterwards will have already been handled by initWindow. Similarly the SHM backend store does not need to handle decorations itself. Fixes: QTBUG-105703 Change-Id: I644cece28277131cf7a65eaa234ff08c8431d544 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit c5aed5ae22f00e4b6c3be7051560b297bc10d941) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit a3c66ed7a868e57f1f7f6a051b85e2fc4899e538)
* QWaylandEglWindow: Pass window surface format to q_glFormatFromConfigKai Uwe Broulik2024-01-101-1/+1
| | | | | | | | | | | | Otherwise it disregards the window's swap interval preference. Fixes: QTBUG-120477 Pick-to: 6.5 Change-Id: Icc6b192f9f317a80acdf4b588ee3f1c26f2ddf0a Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 6d7bf2a494b0f12972cf313215a268fe9e54678b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 6a8284f36cfb508c713429d0f0edf2d950e6ca5b)
* bradient: Explicitly set Qt::PlainText textFormatKai Uwe Broulik2024-01-101-0/+1
| | | | | | | | | | | | Otherwise a window title containing HTML tags can mess up the layout. Pick-to: 6.5 Change-Id: I7bd4abd2e0caa92cbb08c0eb46acba737126c913 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 5b6a7eeb224f471fa534c23249dc881a77182103) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 2a1ec6fc5ed7fa820dbb5ca7095584c62c684ff9)
* Doc: Add documentation for QML WaylandQuickItem::output propertyAndreas Eliasson2024-01-091-0/+5
| | | | | | | | | | Fixes: QTBUG-120397 Pick-to: 6.5 6.2 Change-Id: I52dee0bf480dee26ca71f7a914150be9679f87f3 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> (cherry picked from commit bf3470703b437ce88903caeba02b9fdd8b9c99d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 68b80faec6c08b5f1b6acee7ccaa5545e57344de)
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2024-01-081-2/+2
| | | | | Change-Id: Ib19de78a1c7d9bdd003a2bf9cee639b29bcf574f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Fix window margin calculationRob Hall2024-01-061-2/+2
| | | | | | | | | | | | | | | Don't subtract the size of the window frame margin from the content area. Fixes an issue where an area of the window is unclickable when client-side decorations are in use. Fixes: QTBUG-120392 Pick-to: 6.5 Change-Id: I6a89b2d463be084233ea3448cacfbbd09d66b96e Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Kai Uwe Broulik <kde@privat.broulik.de> (cherry picked from commit c37824eeacda237dbc62f0951dfea1fd2eb5ddb2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 0618e1e7f73c6bef2e70a2ad51aa9b6f5959cec5)
* QWaylandWindow: Reset input region on window resetKai Uwe Broulik2024-01-061-0/+3
| | | | | | | | | | | Amends 604db6b5 and fixes the input region (and thus Qt::WindowTransparentForInput) not working on subsequent shows. Change-Id: Ie160aa0b2c13e6858b31ad98866a8689dfbad149 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit f308aa256e5328b53d6c41f995edf078bca87b98) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit cb09ffb0cb7619674bbbc31c2a130ceefe40fe28)
* bradient: Don't cache decoration colorsKai Uwe Broulik2024-01-061-12/+9
| | | | | | | | | | | | | Reading them from QPalette on the fly is pretty negligible. Easily ensures that the palette renders with correct colors when the color scheme changes. Pick-to: 6.5 Change-Id: I469fa2f32889a7841a3d4c4c8d11e1abf50ae66f Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit cd9f8f607c371f7b477143c79ef64a892e7df3c3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit cf21edf54d55fd2f43b6ac9330ce8faf93e5baba)
* QWaylandScreen: Implement subpixelAntialiasingTypeHintKai Uwe Broulik2024-01-062-2/+30
| | | | | | | | | | | | It isn't really used anywhere yet, since on Unix QFontconfigDatabase doesn't use the screen's information. Pick-to: 6.5 Change-Id: Icab81b2bf8df1a23223a74f2d4aee94601e0bea3 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2d1eb5b8eec538458be09d38925fdd2b9d1101a3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 33c35df1bd6b496ce73ce13b2fb431e2cef1f6f5)
* bradient: Use "Size" instead of "Split" cursors for resizingKai Uwe Broulik2024-01-061-3/+3
| | | | | | | | | | | | | | | SizeVerCursor: "A cursor used for elements that are used to vertically resize top-level windows." SizeHorCursor: "A cursor used for elements that are used to horizontally resize top-level windows." Pick-to: 6.5 Change-Id: Ib780269120aa373cd9fcf84826683cccd1dc4f4d Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit d85ebd9fba97ea2dc89278e331bfdd904c09159d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 8acfeed01b7d29eb25be8a1dcf001471bbe9ad7d)
* Doc: Add missing '\' in QDoc commandPaul Wicking2023-12-301-1/+1
| | | | | | | | | Fixes: QTBUG-120393 Change-Id: I9a453f0c2bfb0e1c605c8db3e6a7d7c2e4282ef8 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> (cherry picked from commit 898a4641051c9504b870f1f9cbd041c64d5b0698) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 37c614837ff4be781985c10209c9e63b9a657fff)
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-12-251-2/+2
| | | | | Change-Id: Id3755c04b4e68fa5753f1a0f8ea2a61f85306cb2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Clean up text input proxy object in textinputv2David Edmundson2023-12-212-2/+2
| | | | | | | | | | | | | This not only cleans up a tiny amount of memory, but also fixes a potential crash if a wayland event were to arrive on the object after the Qt level wrapper is destroyed. Pick-to: 6.5 Change-Id: I6fafdd848d61da893304c4467a57b52d3771c508 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 18166784fda5b3afce55bf00227f77e08ff08ac2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit f5bcf869810fee9882cbd1d7208e625862724259)
* QWaylandMimeData: Skip "DELETE" formatKai Uwe Broulik2023-12-211-2/+5
| | | | | | | | | | | | | | | | | | This is presumably a left-over from XDND: https://freedesktop.org/wiki/Specifications/XDND/ > In general, XdndActionMove is implemented by first requesting the data > and then the special target DELETE defined in the X Selection > protocol. [...] DELETE should be sent before XdndFinished. Firefox sends this during dragging of files but trying to fetch it will fail, leading to a timeout and potential freeze. Pick-to: 6.5 Change-Id: Ic30f5cb23587c63d54859c5eaebb3a054a25ac69 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit c28b35521943646f5de5fbc44888f66a01e7a849) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit e5fe8e08ec8797295d970c1b1db2fa33f53d7aa2)
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-12-191-2/+2
| | | | | Change-Id: I9a2812af7d04b1430b785fedfbfe1899603747b0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWaylandCursor: Set appropriate shape for drag cursorsKai Uwe Broulik2023-12-151-3/+3
| | | | | | | | | | | | | Even if the compositor is free to do whatever during a drag, the client can still set a proper cursor. The codepath without cursor-shape also doesn't special case them. Change-Id: Ib6b9864d8024ff2919471d6f2d12f9ba8e2e512d Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> (cherry picked from commit c9ade893aeacbe244300217aad51eee2a84940f7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit fa9dec205b29b169dfd6a2897ad3b7d3b26142be)
* Don't lock render thread when blocking swap is usedEskil Abrahamsen Blomfeldt2023-12-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, Qt will use a non-blocking eglSwapBuffers() and implement our own frame event mechanism with a time-out. When the blocking version of eglSwapBuffers() is in use (either because it's manually enabled or because the driver does not support the alternative), it depends on the main thread to poll events, as it will wait indefinitely for a frame callback. This is incompatible with our locking of the surface for the duration of the frame, since we may end up locking the main thread in QWaylandWindow::reset() during shutdown while the render thread is simultaneously locked in eglSwapBuffers(). The lock was implemented to work around a bug in one family of graphics drivers, so we simply disable it when blocking eglSwapBuffers() is used. If we need to put this back, we would need a more advanced approach and make sure we continue to poll events even while we're waiting for access to the surface. Pick-to: 6.5 Fixes: QTBUG-118890 Change-Id: I04f7d2b168726d82c38fe3fafd350dcab928b956 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 02263f21f5cdd61d71e5e8e08b2e73c05c6c1e76) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit b0f96ca63ee89f06254d65a8aca780c0d61933b4)
* client: If the window minimized state is requested do not forward other statesDavid Edmundson2023-12-111-5/+10
| | | | | | | | | | | | | | In QWindowPrivate::effectiveState if the minimize flag is requested all other states are cleared. This makes sense for the internal representation, but we do not want to send the unset maximised state across the wire. Fixes: QTBUG-119136 Change-Id: I9b758c67ce11420b421a295fe3e65b68bf546027 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 0afaafef3916de86abaf5204c8b8350697ac15e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 9eb71d709e045222c3270ea3e7f0c4134525322f)
* client: implement QWaylandCursor::size()Liang Qi2023-12-082-0/+12
| | | | | | | | | | | See also 78272c667f008f6afcf5f84e0add525b56c3a558 in qtbase. Fixes: QTBUG-118612 Pick-to: 6.5 Change-Id: I1cfd0c287b133c21a0ccdc5f283d9997f06fb2ed Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit a960d6e107a809c9f5ff9c71cceaa316bf1d428f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-12-081-2/+2
| | | | | Change-Id: I74a5517ddc0fe7132869a03d69156b1e1af741e2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWaylandMimeData: Check text/x-moz-urls for UTF-16Kai Uwe Broulik2023-12-042-10/+65
| | | | | | | | | | | | | | And fall back to UTF-8 if it's not. When dragging a picture out of Chrome, it sends a simple URL as UTF-8 under text/x-moz-urls. QXcbMime has this fall-back, too but I originally didn't consider it necessary. Pick-to: 6.5 Change-Id: I52378cfc354de342623e5dd3f7e1d028951e8dab Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 7de5d7c05276c179c9951c718c6fc5ccd18982aa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: Fix enter event cursor position with xdg-popup and QHighDpiScalingIlya Fedin2023-12-041-4/+9
| | | | | | | | | | | | | QWindowSystemInterface::handleEnterEvent accepts device-dependent position while QCursor::pos provides device-independent position. Use QWaylandCursor::pos instead. Pick-to: 6.5 6.2 5.15 Change-Id: I70d2997610f7a34c6763bd4f10f20a65c3debdbe Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 8e57e8b51b2b701c5520f37b7d78de5b3c488500) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-12-011-2/+2
| | | | | Change-Id: Ieac0a2718f1ec4f8bc48bb6e58cd13896c8732f3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-271-2/+2
| | | | | Change-Id: I9cfa49448fc3dfcb265f0b525de783c38cec2c72 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Warn if eglSwapBuffers failDavid Redondo2023-11-241-1/+2
| | | | | | | | | | This failing was the cause of windows freezing on NVidia. If it happens for some other reason we can now see why. Change-Id: Iabd44b1b3f73a54adac3024436ffe116ca15d21a Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 5948151aaf6fb5d36d991dab71b2cc2c87e84572) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: Switch QWaylandXdgSurface::setSizeHints to the window content geometryIlya Fedin2023-11-231-4/+7
| | | | | | | | | | | | | | According to the protocol documentation, set_{min,max}_size work in window content geometry while it currently works in QWindow geometry. Practically this excludes shadows and includes the non-shadow part of client-side decoration. Pick-to: 6.5 Change-Id: Ib702e4c9036a07645ba254ac3cc0e5704a949fe4 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 426dab9209bb3509e715dd87a5614b7a17a254b6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-211-2/+2
| | | | | Change-Id: I25f204e837c34fdd8ef811c2bd686c8373a306a4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-171-2/+2
| | | | | Change-Id: I68c448af4b6c4724a6a91040d50717334dda51f1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.6.2Jani Heikkinen2023-11-171-1/+1
| | | | | Change-Id: I818cdf863e844bb3b07f3dee82b22890224a120c Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Client: Move topmost grabbing popup tracking to QWaylandWindowVlad Zahorodnii2023-11-174-22/+23
| | | | | | | | | | | | | | | | | If the effective transient parent is different from QWaylandWindow::transientParent(), then the popups may be closed in wrong order and producing an xdg-shell protocol error. This change lifts topmost popup tracking from the xdg-shell plugin to QWaylandWindow so it can guess the correct transient parent and the xdg-shell plugin doesn't have to pick a different parent behind our back. Fixes: QTBUG-119110 Change-Id: I7c5f780b7bd4c3362aa7b22762ff336ae908ff70 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit cfaae5d910406ef38d124e8e2c9114e2bfe87cb3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* client: Always clear queued buffer busy flag when resetting the windowWeng Xuetian2023-11-131-0/+3
| | | | | | | | | | | | | | | In 39a003942ebab39a1d3b8bc64f41d0c68e92f4bf, the queued buffer is always set busy, but it may not be reset correctly if the queued buffer is not ever attached due to hiding the surface when window visibility is being updated at a very fast speed. Fixes: QTBUG-118650 Task-number: QTBUG-118650 Change-Id: Id0bdd3caa69c821bb84927f01b4839f46eee8a10 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: David Redondo <qt@david-redondo.de> (cherry picked from commit 6fe83f6076423068b652fa4fcb0b5adbd297f2a8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make custom-extension example work on Nvidia EGLStreamsPaul Olav Tvete2023-11-132-0/+6
| | | | | | | | | | Fixes: QTBUG-111022 Pick-to: 6.5 Change-Id: I766eeb83dc019acab7fe0c8d29412ea28b8fbc56 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> (cherry picked from commit a3ac80da3e843f824831ad143d2f215eeffce139) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-101-2/+2
| | | | | Change-Id: I3e77426fdbb621fea23a74a759a9a3a13f1ecc78 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Convert text/x-moz-urls to text/uri-listKai Uwe Broulik2023-11-092-0/+93
| | | | | | | | | | | | | Similar to how it's done in the XCB QPA. This format is used by both Firefox and Chrome for exchanging URLs. Pick-to: 6.5 Change-Id: Icd4406ff6297ea2800f4e1389ffc2878ee1ccb65 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 80a3359598553298b544feae0a7e7399d6cfd9a7) Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-081-2/+2
| | | | | Change-Id: I94d2545b20df6dd6e7585a92f0c1f9c86809c771 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Implement QWheelEvent::invertedDavid Edmundson2023-11-066-24/+72
| | | | | | | | | | | | | | | | | | | | | | "Natural scrolling" is a setting that makes trackpads act in the inverse; moving up moves content down to mimic behavior of touchscreens. However not all scroll events are used for scrolling, so it can be useful to know the real direction. This was exposed in QWheelEvent it just needs plumbing. While this is technically an implementation of wl_pointer version 9, on the other hand, it fixes the value of QWheelEvent::inverted(), which makes scrolling with touchpad on wayland behave in a more expected fashion, so this can be viewed as a bugfix as well. The patch has been tested for almost a month, no regressions have been noticed. Change-Id: I050b8b3e55796beff33badb7c073c0b93589294e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> (cherry picked from commit 6b8a99afa3c6dff60bd4096c2273f8db0e4d1247)
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-031-2/+2
| | | | | Change-Id: Ifad88eef8fa2c742ef95a8e2f333d97005324c40 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-11-021-2/+2
| | | | | Change-Id: I74c60e681e58bb7d5ac2223455fb7234f1473cd2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.6' in qt/qtwaylandQt Submodule Update Bot2023-10-301-2/+2
| | | | | Change-Id: I30a138171a3678a7b513a5e79884f84190434087 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add license headers to shader filesEskil Abrahamsen Blomfeldt2023-10-267-0/+21
| | | | | | | | | | These need the same licenses as the code. Pick-to: 6.5 6.2 5.15 Change-Id: Iad59ee3e3cb5f68de92cf6b3b5d8bd4840d4a2ad Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 702980b8d47e045b28d4e62842a25416f9138226) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix CMake config after move of example to manual testsEdward Welbourne2023-10-241-1/+1
| | | | | | | | | | | | Amends commit acb68bd3bbbc0001bcf460dd175ff92cc3ce594a to change its use of qt_internal_add_example() - appropriate where it came from, not where it was moved to - to plain add_subdirectory(). Pick-to: 6.5 Change-Id: Ie5ea13f8ba57154c0ae1fb44be9a327c88e3b4e2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 6aa641c7a2d77de03857a002f80cda525c3065bd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Issue keyReleaseEvent regardless of focusInho Lee2023-10-241-1/+1
| | | | | | | | | | | | In some cases like using Key.forwardTo, keyReleaseEvent is ignored. It should be generated regardless of focus. Fixes: QTBUG-118042 Pick-to: 6.5 Change-Id: I154a27542c73264c3238d645e9b18e869c60b19e Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 76d5c4992dff683fd6684864f620c593f5263f4b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>