summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* compositor: Provide backwards compatiable support for TextInputV4 enumDavid Edmundson2024-01-101-0/+2
| | | | | | | | | | | Support for TextInputV4 was available as an experimental feature that is now dropped due to the upstream V3 catching up. This keeps the exposed but undocumented enum still working with text input features. Change-Id: Ie150c242bbe78a33733fb0187bcbe61050c04346 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit f1f4e26e3b4b022021620ae268fa87788cbfd524) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWaylandWindow: Update decoration when application palette/font changesKai Uwe Broulik2024-01-102-0/+13
| | | | | | | | | | Ensures the decoration can redraw to adjust for the new colors/font. Pick-to: 6.6 6.5 Change-Id: Ib46acde1d14baafda49f379f8279c396bc976bdc Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 48305b653580f60adfc9d8b9460a9d150769c834) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* client: Fix text-input set_cursor_rectangle coordinatesIlya Fedin2024-01-103-6/+12
| | | | | | | | | | | They should be converted to native ones and shouldn't contain server-side decorations Pick-to: 6.6 6.5 Change-Id: Ia701edc22b68bec2fa46e95d7a812621142dcde0 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 8811a78a7b625c7b07b680b2d99890578b3d62ee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* bradient: Use QWaylandWindow actual window titleKai Uwe Broulik2024-01-103-17/+26
| | | | | | | | | | | | | | It may include a suffix containing the application name and is also what's set on the XDG Toplevel, i.e. what the rest of the environment (task switcher, etc) sees. This stores the title in QWaylandWindow and adds a getter to retrieve it. Change-Id: I84f41c68b16b680cdbb5cf656c7078d1e41767d4 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 34c1dca43ce73c289a914ec03d08dc142d9e70c6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* 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.6 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>
* bradient: Explicitly set Qt::PlainText textFormatKai Uwe Broulik2024-01-091-0/+1
| | | | | | | | | | | Otherwise a window title containing HTML tags can mess up the layout. Pick-to: 6.6 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>
* Doc: Add documentation for QML WaylandQuickItem::output propertyAndreas Eliasson2024-01-091-0/+5
| | | | | | | | | Fixes: QTBUG-120397 Pick-to: 6.6 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>
* Update dependencies on '6.7' in qt/qtwaylandQt Submodule Update Bot2024-01-081-2/+2
| | | | | Change-Id: I90e968ff6f19da62b0a169718ce3cccc50ac8865 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* 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.6 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>
* 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.6 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>
* 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. Pick-to: 6.6 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>
* 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.6 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>
* 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.6 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>
* Remove unused Q_Q macros which caused fatal warningsShawn Rutledge2023-12-291-8/+0
| | | | | | | | | | | error: unused variable ‘q’ [-Werror=unused-variable] Amends 59ae054ded4d74db53281d8087576cd05b979cd9 Change-Id: I8d506ba04723fa9327bbc80e2597d2176e500c2d Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 92ba57d7ceca3d9d072ee121ab44eff17637cbec) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Add missing '\' in QDoc commandPaul Wicking2023-12-291-1/+1
| | | | | | | | | Fixes: QTBUG-120393 Pick-to: 6.6 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>
* client: Do not constrain clients to size hintsDavid Edmundson2023-12-281-11/+1
| | | | | | | | | | | | | | | | | | The behavior of constraining requests from the system to the client requested size does not appear to be in other backends. It was added to QWayland before xdg-shell/qt-shell existed with hints that can be supplied to the window manager. This is important as the specification states that maximized windows must follow the geometry requested and there is some movement towards this applying for all tiled states. Task-number: QTBUG-120035 Change-Id: I7c203db18e34a8f81a39c504591f6b54df076da8 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 36098d436a83270e17ea36874470bf28f0ac94b7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwaylandQt Submodule Update Bot2023-12-221-2/+2
| | | | | Change-Id: Ie6c5b20bc5763919956bd94788d7656c9927b18b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Clean up text input proxy object in textinputv3David Edmundson2023-12-211-0/+1
| | | | | | | | | | | | 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. Change-Id: Id1c768b1f846925579220784e4312cede4efd095 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: David Redondo <qt@david-redondo.de> (cherry picked from commit f87d0bf9ff8214222a3edd2a94efff16524b6f35) Reviewed-by: Qt Cherry-pick Bot <cherrypick_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.6 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>
* QWaylandMimeData: Skip "DELETE" formatKai Uwe Broulik2023-12-201-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.6 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>
* Don't use Qt keywords in headersKai Uwe Broulik2023-12-1814-24/+24
| | | | | | | | | | | | | | Unfortunately for many Wayland features applications need to access Qt private headers which will fail if the project is built with QT_NO_KEYWORDS. Ideally, the examples and tests were ported, too, and QT_NO_KEYWORDS enabled in .cmakec.conf. Change-Id: I9f988d304bcc8dba4dd84761c41ba3da2473515d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 4ce984953a4df4f6038953d3c4bf129c70b8d2cf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove inactionable warnings suggesting qt-text-input-method-unstable-v1Nicolas Fella2023-12-181-4/+0
| | | | | | | | | | | | | | | These warnings can appear several times during the program execution, spamming the log. They are also inactionable for desktop use cases, since qt-text-input-method-unstable-v1 is not a protocol implemented by any desktop compositor. Fixes: QTBUG-120171 Change-Id: Icd5316000b43e4b16e1eaff9efcc0c363458b9af Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 20fe11bde5530a10de916f751763c771727716f9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWaylandCursor: Set appropriate shape for drag cursorsKai Uwe Broulik2023-12-141-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. Pick-to: 6.6 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>
* Don't lock render thread when blocking swap is usedEskil Abrahamsen Blomfeldt2023-12-131-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.6 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>
* Support TextInput V3 over v4-wipDavid Edmundson2023-12-1327-425/+325
| | | | | | | | | | | | | | | | | | Support for v4-wip was not added into any desktop linux compositors, nor was it ever enabled into the default Qt client builds for clients or compositor. TextInputV3 has become the most widely deployed. Whilst changes are needed, they do not need to be breaking changes. A second iteration of V3 can add the features we need. This is now in motion upstream. For cases where QtWaylandCompositor is used, the custom Qt text input method is preferred to work with the Qt virtual keyboard. Change-Id: I01e2686c67846804c0069f1495952b530547f91c Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 59ae054ded4d74db53281d8087576cd05b979cd9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwaylandv6.7.0-beta1Qt Submodule Update Bot2023-12-121-2/+2
| | | | | Change-Id: I0b772d0da90c2f43ec3680a9735bb2371b15535a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* tests: Only track one data offer during a dragDavid Edmundson2023-12-112-8/+5
| | | | | | | | | | | | A drag consists of one data source which in turn will be represented by one data device sent to each client. We don't need to manage a list Change-Id: Icd2aba3ced1d8254d15400b0b687888b0872cc35 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 9c9f66a73dae53937af3f756fdbecc715fd3bbbb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* 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 Pick-to: 6.6 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>
* Handle subsurfaces with async configureDavid Edmundson2023-12-112-2/+2
| | | | | | | | | | | | | | | | | With XDG Shell we cannot map a buffer until we get a configure event. To handle this the normal expose events is blocked then sent explicitly when we get this request. This works, but we also need to notify that subsurfaces are now exposed with the parent. Pick-to: 6.6 6.5 Fixes: QTBUG-119882 Fixes: QTBUG-119883 Change-Id: I0ae69c8da702037e7575cfc0939d3e783b50f323 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit b109438973aaec7124390ca99ec54193feff5046) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-12-101-2/+2
| | | | | Change-Id: I9eb61dc5ea93e292a8c4e6cd691231327daae3af Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Error out early when base was build without our native interfacesDavid Redondo2023-12-091-0/+6
| | | | | | | | Instead of letting people run into compile errors, bail out and explain what's wrong. Change-Id: I2f2067ee07d95238e287e39ce78e73eddbca836c Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-12-091-2/+2
| | | | | Change-Id: I9e1e9a6946e7c29f51fd20e320f0d8c92cfa1827 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Adapt to QWaylandScreen being publicDavid Redondo2023-12-091-2/+2
| | | | | Change-Id: I8c260ab7177011fd22db856615c8f72d6a8fabeb Reviewed-by: David Edmundson <davidedmundson@kde.org>
* client: implement QWaylandCursor::size()Liang Qi2023-12-082-0/+12
| | | | | | | | | See also 78272c667f008f6afcf5f84e0add525b56c3a558 in qtbase. Fixes: QTBUG-118612 Pick-to: 6.6 6.5 Change-Id: I1cfd0c287b133c21a0ccdc5f283d9997f06fb2ed Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-12-081-2/+2
| | | | | Change-Id: I469361bb456b70ef5d88b9e64e13b59231f2666c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-12-051-2/+2
| | | | | Change-Id: Id0e7e25d81a7cf0befc9040006139dc3957f978d 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.6 6.5 Change-Id: I52378cfc354de342623e5dd3f7e1d028951e8dab Reviewed-by: David Edmundson <davidedmundson@kde.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.6 6.5 6.2 5.15 Change-Id: I70d2997610f7a34c6763bd4f10f20a65c3debdbe Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-12-041-2/+2
| | | | | Change-Id: I47ad682847e60797508e509e1a6c3a5a3c8774f9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-12-011-2/+2
| | | | | Change-Id: I458a40e2001d8401e763cdb46a8b1107fb950951 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-11-301-2/+2
| | | | | Change-Id: I38dae884454dccda0c2482d07c9d77c4a1659a0c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-11-291-2/+2
| | | | | Change-Id: I7afb60d538301a10586fb84c465340a99870d1d5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove redundant static uint32_t QWaylandDisplay::currentTimeMillisec()Edward Welbourne2023-11-272-12/+0
| | | | | | | | | | Fortunately it was unused. Its 32-bit unsigned return type, measuring time in milliseconds, wraps around every 50 days. If Qt Wayland ever does need to know the current time in milliseconds, I can recommend QDateTime::currentMSecsSinceEpoch(). Change-Id: I03e70e3c7060b1e8fb82fc2e151bb187b6598b96 Reviewed-by: David Edmundson <davidedmundson@kde.org>
* CMake: replace PUBLIC_LIBRARIES with plain LIBRARIESEdward Welbourne2023-11-272-2/+2
| | | | | | | This silences a warning from qt_internal_add_test(). Change-Id: Ie1afaa5789a488ad3190061c782a5bfb9f3d103c Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-11-271-2/+2
| | | | | Change-Id: I9484b4b16059142b3aaf793a05c4510cf285168e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Use correct offset handling features for wl_surface version 5David Edmundson2023-11-261-2/+6
| | | | | | | | | In version 5 wl_surface_offset was introduced and requires that is used instead of passing the additional arguments to wl_surface_attach Fixes: QTBUG-119177 Change-Id: I04d7a6f89d17991a8fc536f5cca9d5d8d5418940 Reviewed-by: Inho Lee <inho.lee@qt.io>
* Update dependencies on 'dev' in qt/qtwaylandQt Submodule Update Bot2023-11-241-2/+2
| | | | | Change-Id: Ie6b890a316591f5b30240db900d5ba6b91813435 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Follow up handleWindowActivated -> handleFocusWindowChanged renameTor Arne Vestbø2023-11-242-2/+2
| | | | | | Change-Id: I75eeae6dfa4af8a17dffaef74f15fc87a58bcf61 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.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. Pick-to: 6.6 Change-Id: Iabd44b1b3f73a54adac3024436ffe116ca15d21a Reviewed-by: David Edmundson <davidedmundson@kde.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.6 6.5 Change-Id: Ib702e4c9036a07645ba254ac3cc0e5704a949fe4 Reviewed-by: David Edmundson <davidedmundson@kde.org>