Commit graph

32 commits

Author SHA1 Message Date
Ilya Fedin
94f9bbefd7 Re-use the Wayland AutoDestroyer's lifetime in WaylandIntegration::Private 2023-09-16 07:21:04 +04:00
Ilya Fedin
b2293c86e1 Use brackets include for QtWaylandScanner-generated headers 2023-09-07 23:09:26 +04:00
Ilya Fedin
dce16a3de2 Use not_null for WaylandIntegration::showWindowMenu window handle 2023-09-07 23:09:26 +04:00
Ilya Fedin
9af842571d Don't call xdg-shell code generation just for xdg_toplevel_show_window_menu 2023-09-07 23:09:26 +04:00
Ilya Fedin
2dd3add5b3 Move code not really depending on Wayland-specific dependencies out of WaylandIntegration 2023-08-29 07:47:50 +02:00
Ilya Fedin
8a56048801 Ensure Wayland integration instance accessor doesn't leak 2023-06-17 15:05:24 +04:00
Ilya Fedin
1e89c19a03 Make window check in Wayland integration assert
This function was always requiring a window handle but after latest refactor it would fail silently
2023-06-10 17:07:49 +04:00
Ilya Fedin
cf906f14bd Store xdg-decoration support with std::optional 2023-05-30 19:01:26 +04:00
Ilya Fedin
627abc6728 C++ify wl_registry 2023-05-30 18:15:19 +04:00
Ilya Fedin
bf4cb33fab Use new base_linux_wayland_utilities 2023-05-25 21:07:08 +04:00
Ilya Fedin
1893967b4a Destroy Wayland integration before Wayland disconnection 2023-05-25 21:07:08 +04:00
Ilya Fedin
be0067a8c7 Switch Wayland integration to the new type safe Qt API
This also makes it possible to get a more right seat/serial pair
2023-05-15 12:29:01 +04:00
Ilya Fedin
8b0e9ea7b8 Fix the detection of xdg-decoration removal 2023-03-23 12:50:35 +04:00
Ilya Fedin
3f28dfa821 Replace custom waitForInterfaceAnnounce with wl_display_roundtrip 2022-11-11 11:39:36 +04:00
Ilya Fedin
f6e875c748 Use new Qt 6.4 API for window extents on Wayland 2022-09-02 19:26:53 +04:00
Ilya Fedin
47268d21ce Get wayland serial with new Qt 6.4 API 2022-09-02 19:26:53 +04:00
John Preston
16708fd4f4 Revert "Allow buffer size overrides on Wayland EGL"
This reverts commit 303947c78c.
2022-08-08 09:40:29 +03:00
John Preston
c6727e673d Revert "Fix packaged build"
This reverts commit 4689c896e2.
2022-08-08 09:39:59 +03:00
Ilya Fedin
4689c896e2 Fix packaged build 2022-08-05 16:35:22 +04:00
Ilya Fedin
303947c78c Allow buffer size overrides on Wayland EGL 2022-08-04 10:12:36 +04:00
Ilya Fedin
a714fb0070 Refactor all ui_platform_utility functions to accept QWidget
Also let ShowWindowMenu accept the point and remove unused return data
2022-06-13 14:04:17 +04:00
Ilya Fedin
797c731d27 Migrate from kwayland to QtWaylandScanner 2022-06-03 20:10:48 +04:00
Ilya Fedin
21a7adc03c Move shell integration initialization to lib_waylandshells 2022-05-19 15:43:12 +04:00
Ilya Fedin
941a10c8b0 Avoid QHighDpi::toNativePixels where possible 2022-05-19 11:50:39 +04:00
Ilya Fedin
e09d5714e4 Use QPA API to set Wayland margins property 2022-04-11 13:17:22 +04:00
Ilya Fedin
d5a37c74b1 Try to use as less private APIs as possible to show window menu on Wayland 2022-04-11 09:43:09 +04:00
Ilya Fedin
9e4ffb81a5 Re-enable kwayland with Qt 6 2021-10-25 08:49:29 +04:00
Ilya Fedin
87b121069f Add checks for libraries not ported to Qt 6 yet 2021-10-21 08:42:53 +04:00
Ilya Fedin
7a71876124 Add possibility to enable native window frame to Ui::Window 2021-07-28 16:06:17 +03:00
Ilya Fedin
b600b6a3b3 Move custom xdg-shell integration code to wayland integration 2021-06-12 15:51:04 +04:00
Ilya Fedin
af41bff7e4 Build with QT_NO_KEYWORDS 2021-03-03 22:34:02 +04:00
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00