| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I30f618e1e8423d8bb26232b8b81514556bd9bcdb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I74f34f1168f39f884e40505c43fc327d794c5964
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I94f9498f8a93fbba2ce03d8bf7fd5c27ba53062b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I14f92921890ba75086d8f06bc246edc2ff3d41b0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before Qt 6.5, QGuiApplication would create XDG_RUNTIME_DIR as a
side effect of looking up QStandardPaths::writableLocation during
platform theme initialization. Since QtWaylandCompositor cannot function
without a writable XDG_RUNTIME_DIR, do that lookup when the compositor
is constructed.
Fixes: QTBUG-122965
Pick-to: 6.5
Change-Id: Ia2365f08ba75be276ca7cc5520875c08cc82b465
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 7a8f3b66158c9c5cd388ff5adb533259b87ab843)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c0978ce798c1d85a485f74a891d18516ef3409f8)
|
|
|
|
|
| |
Change-Id: I9fc54963b927ae1bf9f0624bb132b8c63d66802c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: If0b7666e5d8c3274e31349930a26e981e1d4958c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: If0cba6924ec49870cf26e7255927d1cc9a9f01df
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
qtwaylandscanner sends an empty string for a null QString
but `wl_data_offer.accept` uses null for "not accepted".
Pick-to: 6.5
Change-Id: I793d4315c9775a4bdc63085231318db8df829c8a
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit 853bbee25514132dfe00ec9d55fbdcb39365926e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d352a9c821128074a7d4963ca4d19e27aa479546)
|
|
|
|
|
| |
Change-Id: Icb0ae6f017e5fb24a5078cbcf53d17bc4171e929
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
XDG activation operates on wl_surfaces, which can be used on all shell
types.
For the case of self activation there is was cast to the xdg
shellintegration on the focused window in order to populate the appId.
Only this part needs to be guarded, not the whole activation.
Change-Id: If44cc800b7cd98141ba05ba5d1cf0812ef777e7a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Marco Martin <mart@kde.org>
Reviewed-by: David Redondo <qt@david-redondo.de>
(cherry picked from commit 9bad0fc2fd89fc5a7e77bef95e830a6dee1be731)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit baf2793fcd3deff068dff3638d3e7c229ac36f49)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An unbound maximum size is sent across the protocol as 0.
We need to make this change before the check that the minimum size is
less than the maximum size.
This fixes having only a minimum size set. This bug is currently masked
by the platform forcefully applying the minimum size.
Change-Id: Ifca4fa01e4c2ac1c34aeb72db1584e4a868d50bc
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
(cherry picked from commit fdb29f3f6fa83e030ba8be30f3e23ff21dea6b5a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 1b71f375c978a57cb796dd1c652f9cb35938b42d)
|
|
|
|
|
| |
Change-Id: I8f62937cfd76c34755670132137489c0b6b56d5c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Idac71ca4ca71be32805d6e287a7fa92eb5746d73
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I4fd33b71cb00372f8d225cc1a7cd798f7e64926b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The plugin is also available LGPL 3.0 (which subsums
GPL 3.0). This amends 7cadb86e5b151459bd06
Pick-to: 6.2 5.15
Change-Id: I547824ae53c7cd20cc2b7e22f84ae4266c13008a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit cf0c0065bd0b689b3651aa50a229b0e118b19336)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fc948011a3cf421dcbe6cc21143cb53c5b2a8f0f)
|
|
|
|
|
| |
Change-Id: Ic945c9cfba90a6116a71067f77bd25155c7466e6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I664236d9cee81bef43a85c0ec00c8e4bb52266ea
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This amends b1cae06cb65658dcddf01a596ea95cfd7c0ebdc2.
They are mapped vice versa. The wait cursor displays only an hourglass,
while the busy cursor usually displays an arrow and an hourglass.
Change-Id: I449086f71b00993c061e8a56983c77925246dc37
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit a7c0c33f0d686d5d85bb910a192e0bf17aba7f61)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6f3f62d337553e590ca769c96f3e9becef77709c)
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is used repeatedly. Normally it can be optimized by a compiler
but it might be helpful to see what it is by the name, inputInterface.
Pick-to: 6.5
Change-Id: I7f4988674d7249c84b1321e69146dfd92189f142
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit e2c87e22701a261d8415e6f7a15a14d2ae3c03a5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d9961e36dbb37320ae8ffe4af0b751b4133f992f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When focusObject is changed,
hide the input panel if input method is not accepted.
Fixes: QTBUG-116600
Pick-to: 6.5
Change-Id: I50b5d051eea6f85365d8bc9aeadb46d8d866e362
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 80c23a2a17c401df159d5e11a1b357a182d1b925)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7171c5fba2923d409530ff48d994b895846292ac)
|
|
|
|
|
|
|
|
|
|
|
|
| |
While no released compositor implemented qt-toplevel-drag it was a
valuable to step to prove the protocol and the Qt implementation
together with development pre-release versions of KWin. Now that the
protocol is standardized we can switch to that version which is
functionally identical.
Change-Id: I3beefe542cbabeddba4468b5d1fa24fcb05a2e5a
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit f61e39ac0e3a50db088c145c5d04395044db958c)
|
|
|
|
|
| |
Change-Id: I42ac73e81b70f0d68a28e1d58cb325f82be8f873
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Since Qt 6, we don't recommend using explicit version numbers
anymore.
Change-Id: I5b833ca9d5dc7a39ddd38b855568ecb642524655
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit fa4065d5fa2da19e1070d40881d9c050e0e8c040)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fbfcb3d6160be80537b686e46516a9695c0d630a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise QtQuick windows freeze when resized.
In order to still use threaded rendering on
embedded platforms where resizing is not required
we check if XDG_CURRENT_DESKTOP which should be
set by desktop environments.
Task-number: QTBUG-95817
Pick-to: 6.6.2
Change-Id: Ic2348c3169e0ade8c5463e3d7c7a1c45037a89a7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit 6d83cf94b568fa9e591761a182cf84e3959fbf32)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 38348ce5b06624cb6e36f814ebdfbc3ec61f1691)
Reviewed-by: David Redondo <qt@david-redondo.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the right QXkbCommon::modifiers overload that can resolve the
modifier.
f614fdfa5dc522f805c7c061535df6a0dc7409b9 did this for wayland-server,
do the same for the client side
Pick-to: 6.5
Change-Id: Iff0c105cb31201241d4972a7772cf997cede3fc3
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 17e46725c5971a3067d5abd5506fde6c03d0935f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit bec69733f67e65de456e63db600f4e871ae2b53b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When reconnecting the cleanup of existing buffers is delayed in order
to preserve contents and copy them to buffers belonging to the new
connection. Due to the order of events it could happen that
a new buffer was deleted along with the old ones but still being
referenced by a window.
During reconnect all QScreens are removed and new ones added for
the wl_outputs on the new connection during the initial roundtrips.
When the first new QScreen is added all QWindows move form the placeholder
screen to it. This can cause for example QWidgets to repaint. At this point
the windows are not reinited yet, and the buffer is queued inside the window.
Only afterwards the reconnected signal was emitted which would cause
deletion of all existing buffers including the newly queued ones.
To fix this the signal is moved after the first roundtrip where all globals
are announced and new buffers can be created but no new screens have been
announced yet. The signal is renamed to be more fit for its new location.
Change-Id: I06be14d235ac342a4b420176aadad3ccf18178fe
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit 8e3a9b8828c4009efd47d95da12f4da7c0a80bac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5d5098de143bee19777660615fdcbaaf1bbc69d3)
Reviewed-by: David Redondo <qt@david-redondo.de>
|
|
|
|
|
| |
Change-Id: I591740d3bf8c07239e383cf79e83da8dc6cea09b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I7e285dbaee6f4beca67933e1b88a42f436c724a6
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
| |
Change-Id: I9716370621bea940ca5b7b6315a9cf0df3ca9acb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Change-Id: Ib19de78a1c7d9bdd003a2bf9cee639b29bcf574f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Change-Id: Id3755c04b4e68fa5753f1a0f8ea2a61f85306cb2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Change-Id: I9a2812af7d04b1430b785fedfbfe1899603747b0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|