summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.4.2' in qt/qtwaylandv6.4.26.4.2Qt Submodule Update Bot2022-12-121-2/+2
| | | | | Change-Id: Ifa30c7ceaac4d130c60165f8e3a782a9eb05c51a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4.2' in qt/qtwaylandQt Submodule Update Bot2022-12-091-2/+2
| | | | | Change-Id: I2f33e19bf32cd7b707504b34efca5aa5ce1ffca7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4.2' in qt/qtwaylandQt Submodule Update Bot2022-12-071-2/+2
| | | | | Change-Id: I6fecf9ac10151682dd8adbb855775dadaa27be9c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4.2' in qt/qtwaylandQt Submodule Update Bot2022-12-051-2/+2
| | | | | Change-Id: I33b86df5b8c0c1830c47c3cfff58209757ab17e6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-12-011-2/+2
| | | | | Change-Id: Ibcd9f440576649899c7dbb89e42b0a01efe6682d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Honor QGuiApplication::overrideCursor()Vlad Zahorodnii2022-11-301-1/+4
| | | | | | | | | | | | If there's a QGuiApplication::overrideCursor(), QWindow::cursor() can still return a different cursor. This can result in a wrong cursor when the pointer enters a window. Fixes: QTBUG-75919 Change-Id: I015117b4b6d252b421ab14bd8f2a8f582f7cae52 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 471b2123400ef6936b5173553205549c7dd1a249) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-291-1/+1
| | | | | Change-Id: I6756ab6d60488f8f58b3fbab1071b91003020b01 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-231-1/+1
| | | | | Change-Id: Ia732bc9cf4e5bef5066d5fbd177ddad9610307cb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-211-2/+2
| | | | | Change-Id: Ie2fd924b6c13898ced49cd0d26e3dc1c50027558 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-181-2/+2
| | | | | Change-Id: I60f10da477b20a9519bc1b97e310ea6a23f44c85 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-141-2/+2
| | | | | Change-Id: Ic44ee396eb65cb78a3e0910e021f6ce7e6efcc09 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Port from qAsConst() to std::as_const()Marc Mutz2022-11-1424-58/+58
| | | | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. This is a 6.4 re-run of the script we ran in dev, in order to avoid conflicts between the branches when cherry-picking. Change-Id: I5eca3df3179dfb2b2682c75a479ba9a4259cc703 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Port from container::count() and length() to size() - V5Marc Mutz2022-11-1428-93/+93
| | | | | | | | | This is a the same semantic patch (qt-port-to-std-compatible-api V5 with config Scope: 'Container') as in dev. I've re-ran it in 6.4 to avoid cherry-pick conflicts. Change-Id: I9621dee5ed328b47e78919a34c307105e4311903 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Bump version to 6.4.2Jani Heikkinen2022-11-111-1/+1
| | | | | Change-Id: I08fb66ca5c56dee41d8599c499c236165f8b0956 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-111-2/+2
| | | | | Change-Id: Ic4cf00a9da52244e9017002e186e92b5e921cf75 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* tests: fix tst_seatv4 to use 24 as default cursor sizeLiang Qi2022-11-082-3/+10
| | | | | | | | | | | | | Also set default cursor size to 24 for client, which is correct both on KDE and GNOME at least. Fixes: QTBUG-104259 Change-Id: Ie4ba27695974025b093a86d8c96fb23d25ad23f7 Reviewed-by: Inho Lee <inho.lee@qt.io> Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 8b1f37cc801420157e94ce459fe22605f8cc486e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix qt_attribution.json fileKai Köhne2022-11-071-3/+3
| | | | | | | | | | | | Fixes File ./qtwayland/src/3rdparty/protocol/qt_attribution.json: Unknown key File. File ./qtwayland/src/3rdparty/protocol/qt_attribution.json: Unknown key License file. Change-Id: I145f9bcc40f175f5d909f7f947c2a20333b70c0c Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit eb5629254f5c5de0c0980ad367d9629c4441c8c3) Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-11-041-2/+2
| | | | | Change-Id: I74a90bf79ff7e951ec38261edc6cce3ed6ae42a0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Always use blocking write for data_source.sendInho Lee2022-11-011-0/+8
| | | | | | | | | | | | | | QtWaylandClient assumes that data_source's fd is BLOCKING, but some compositors (e.g. mutter) pass an fd with O_NONBLOCK set. In this case, 'write' is not guaranteed to process all of the passed data in one call. Instead of dealing with such partial writes, remove O_NONBLOCK. Fixes: QTBUG-107076 Change-Id: Ieb446da9fdfbaaa55100f573b396ee449cadc463 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 5025ac15088d1b85007b3d3439c14bdc3e4979a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-311-2/+2
| | | | | Change-Id: I2e080fdb0fb79e3b304e2dcce90fa30f0f138c2c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-271-2/+2
| | | | | Change-Id: I5cf519a772e5565960d5c56d92678cce60397a55 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-261-2/+2
| | | | | Change-Id: Ide5233df51ee75f509fa4f338b58532e768ba249 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-201-2/+2
| | | | | Change-Id: Iaf09ec104af191c29d549f793b5ee04861faa6a0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-191-2/+2
| | | | | Change-Id: I3f59f061354575fee4325f16711b60a20a60dded Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Allow to run wayland-scanner without --include-core-onlyVolker Krause2022-10-181-3/+6
| | | | | | | | | | | | There are Wayland protocols for which using this option doesn't result in compilable code. Examples are input-method-unstable-v1 and linux-dmabuf-v1. Change-Id: I06dea12dea1058fb6bd99522aa4278c36d271d4e Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 01aa1fc3bf7c5dc48151c9199cc58b78cfe039c3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-181-2/+2
| | | | | Change-Id: I0981d1488c3d1831941b70cd70952fc9ed9fdcd5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-171-2/+2
| | | | | Change-Id: Ia1e9aa7c8f0ae109280a8e58890b65df107af55a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-141-2/+2
| | | | | Change-Id: Id697579bcf3d87a40c0be8ead5104f26d0ea1071 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-131-2/+2
| | | | | Change-Id: I65c4b8b966d04b4146b0fb61c809b00eea188db0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-071-2/+2
| | | | | Change-Id: I6ff76ef8f8902b6ce39ae8d15c2d64d976ff910a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-061-2/+2
| | | | | Change-Id: Idd5efd1721955a22a91b9ade16820026f7365134 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-031-2/+2
| | | | | Change-Id: Ib700cf8a622f6f314bdbf6a11c3af7162c5464fa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-301-2/+2
| | | | | Change-Id: I4633b82fdef7df73b05907196191f96224cfc8b8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-291-2/+2
| | | | | Change-Id: Id784221d45eeb3d9d1b81db20c40c9d5beefa5df Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-281-2/+2
| | | | | Change-Id: Id35611fc9cac5e9d344632f4444e6ff26b05cf34 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-261-2/+2
| | | | | Change-Id: Ic020c1fe4462f641638826ac6c6442cab0648ea9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Call `finishDrag()` in `QWaylandDataDevice::dragSourceCancelled()`Fushan Wen2022-09-221-0/+1
| | | | | | | | | | | | | | Drags can either get finished or cancelled. If a drag is finished successfully we call finish on the QBasicDrag instance, which quits the nested event loop. This patch adds the connection for cancelled drags. See also: https://bugs.kde.org/show_bug.cgi?id=446111 Change-Id: Ib93040648da88a433d647c87adcb7a7fabcaef6c Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit c92282b865efcf8c571bb52b5f96d8ad260a1cda) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use CRLF line delimiter for text/uri-list dataAlexandros Frantzis2022-09-211-1/+1
| | | | | | | | | | | | | | | | | | According to RFC 2483, which describes text/uri-list, the line delimiter must be CRLF (instead of the currently used LF). Some applications strictly expect the CRLF delimiter and fail to properly parse the uri-list otherwise (e.g., WineX11/XWayland). https://datatracker.ietf.org/doc/html/rfc2483 5. The text/uri-list Internet Media Type The format of text/uri-list resources is: 3) As for all text/* formats, lines are terminated with a CRLF pair. Change-Id: I7c062224a9060028ab6293fdf172692ade28cca5 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit bd5b0a804b91b9fbd0ce44d5d6765e07d0a50b4f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: fix enlargening window position by margins sizeIlya Fedin2022-09-201-2/+1
| | | | | | | | | | | | | | | | In d89c8920f3b82dd2098971b5a66c4b9c75da5af0 it was changed to sum the current geometry with the margins. This makes Qt thinking that the window is moving on every configure request and makes the previous fix (5f8db38e49b5bee4962fa9ac048c23a3faae587b) actually no-op I'm not sure why it was changed as the commit is squashed, but I hope the intention wasn't to make Qt think the window is endlessly moving (exactly that happened though) Change-Id: I7cde12ea5548d59810e2631be2a0085f86d5c4b9 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 5bbe3ca7e0f437313718880ee7c61d4991c6d61c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-201-2/+2
| | | | | Change-Id: Ib69190868f35761fc2ad9b4c9088deb609140789 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-191-2/+2
| | | | | Change-Id: Ia1d6aab9d012ab4bf45c3fd62ef9c6839b89debe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-161-2/+2
| | | | | Change-Id: I2c951e7375bee7525df3584058108f98d158381d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.4.1Jani Heikkinen2022-09-161-1/+1
| | | | | Change-Id: I1e27744fef05ab262e0f9812bd1abe8e17a0362f Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Client: skip building tests which cannot be run on webOSJanne Juntunen2022-09-151-16/+20
| | | | | | | | | | | | | WebOS developers have informed us via QTBUG-106114 that opening multiple (consecutive) windows from single webOS-QtWayland client is not supported and majority of our test cases try to do exactly that, causing a segmentation fault. Therefore we need to skip these tests. Fixes: QTBUG-106638 Change-Id: Ifbdb2cfb663f8eccd3d68e30445e2a0f39b11355 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit c11268131ccef9492d1c9f4261ac1b92a9a77e7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-151-2/+2
| | | | | Change-Id: Ib9534d64b458f565ea92e27265d65c6acb3056f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-141-2/+2
| | | | | Change-Id: I03826334d1d10ef40306e1989d9422fd516234e9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-131-2/+2
| | | | | Change-Id: Ia2ef5e8eccab7322e2e1f641918d715812002cd2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-121-2/+2
| | | | | Change-Id: Icefa0a9aa017c5aaa78b192ca9a82092125abb21 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-091-2/+2
| | | | | Change-Id: I413bb77896137ece57133c2591f78579845ee43e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-071-2/+2
| | | | | Change-Id: Ibeac0eced4075e3e5a0297a4da97c0e298442bbb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>