summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.4.1' in qt/qtwaylandv6.4.16.4.1Qt Submodule Update Bot2022-11-081-2/+2
| | | | | Change-Id: I70a8b4a252bb5105921d48c90d9420e8459dc510 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4.1' in qt/qtwaylandQt Submodule Update Bot2022-11-081-2/+2
| | | | | Change-Id: I172282968faa2fb04b2d7ca1add57b4cd5abd8be Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4.1' in qt/qtwaylandQt Submodule Update Bot2022-11-031-2/+2
| | | | | Change-Id: I102cb8c60d297d512e0d34bebb1de9a73afa37b6 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>
* Update dependencies on '6.4' in qt/qtwaylandv6.4.0-beta4Qt Submodule Update Bot2022-08-261-2/+2
| | | | | Change-Id: I9ef41a15cc542d147e2ced513735516bb12397fc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-251-2/+2
| | | | | Change-Id: I6db14c17b75eee53362ab55007892c10b1c49bf2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Coin: adjust compositor split rulesAntti Kokko2022-08-231-1/+2
| | | | | | | | | | | Due to changes in build configuration 'Qt6WaylandTextureSharing*.cmake' files need to be included in the compositor package. Task-number: QTBUG-105722 Change-Id: I03a0072227ce6d9cf85f01c523da516b27a577fc Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 461faf61dfb2b2bd61397eeec9ee208bfb01bec2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: add custom margins support to xdg popupsIlya Fedin2022-08-223-3/+11
| | | | | | | | | | | xdg_positioner operates in window content geometry (i.e. without shadows), so it's necessary to remove popup's and parent's shadow from position and size calculations. Change-Id: I997ba2c45ae341a09a8284226629e8107800e894 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2a4dc215756ff2f3fe966a689eea4cf4c7b11b7d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-221-2/+2
| | | | | Change-Id: Iae162933ed14b2d44a7fa982fad5b7336b24346b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-181-2/+2
| | | | | Change-Id: I4231223eac8cafc636a239bfb801b93a6320bbbd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Avoid calling requestUpdate from wrong threadEskil Abrahamsen Blomfeldt2022-08-171-1/+5
| | | | | | | | | | | | | | | | | In certain circumstances, we can get to createDecoration() from the render thread (from QWaylandGLContext::makeCurrent) Calling requestUpdate() from this secondary thread would cause an assert, so we queue the call on the appropriate thread instead. This amends af7b60ade5c4be81cbc58eb18307c017d5594071. Fixes: QTBUG-105308 Change-Id: I4805265f39e24eb1464897532be2025bc3c27728 Reviewed-by: Inho Lee <inho.lee@qt.io> (cherry picked from commit a0c0b5b42335808c2222cbf72c1758e955731ed9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-161-2/+2
| | | | | Change-Id: Iee95b58eebfceac95e2813b994117b03338edd9f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-151-2/+2
| | | | | Change-Id: I17bd789985702cc65648134724d33877cd38aa39 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandv6.4.0-beta3Qt Submodule Update Bot2022-08-111-2/+2
| | | | | Change-Id: I2c7ecadbf3efed483b9a5f44b0c32832eec04619 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWaylandGLContext: print the 0x prefix in error codeThiago Macieira2022-08-101-2/+2
| | | | | | | | | | So it's not ambiguous that this is hex, in messages like: "WARNING: QWaylandGLContext::makeCurrent: eglError: 3003" Change-Id: Ie4bb662dcb274440ab8bfffd1709ba0415c3d790 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit e05dff0abf4f97dceaeeb29c22f337d353d879ed) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-081-2/+2
| | | | | Change-Id: I0de6bce7574f57dcbe32dc7c9912ef0f4eda3690 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-021-2/+2
| | | | | Change-Id: I6b00fb27213c4db6e6369a0c16753be60dc9167b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: do not take decoration shadows into account when placing popupsJan Grulich2022-07-291-2/+2
| | | | | | | | | | | The anchor rectangle is relative to the window geometry, which according to xdg-shell specs shouldn't include invisible portions like shadows. This causes all popups be wrongly positioned when drop-shadows are used. Change-Id: Iac30ab264599f9898f3ddecd7f0c5f2aca824ad6 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 14c0293fe6e55317e8a645f6a156b5973190cd8e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-07-281-2/+2
| | | | | Change-Id: I126354499dd1a3106e429a05cb6d222cc4ea993b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>