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
a76cdf7edf
Allow arbitrary paddings around PopupMenu.
2022-08-17 21:03:06 +03: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
ba7e3667d6
Adapt for Qt 6.4 device pixel ratio changes
...
QWidget::devicePixelRatioF represents backing store ratio and it's no more equal to native surface ratio
2022-07-19 19:44:06 +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
a812ae65a4
Get rid of private QHighDpi usage
2022-06-02 14:30:18 +04:00
Ilya Fedin
c25c3e043c
Adapt for XCB::IsSupportedByWM changes
2022-05-20 20:03:12 +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
bbad41e046
Get rid of __HAIKU__ checks
...
This is a leftover of something that wasn't finiched and looks like won't be finished. It also feels that's not a good idea to mix Linux and Haiku in the same file though...
2022-05-19 11:50:39 +04:00
Ilya Fedin
d1bf069916
Wait for interface announce before xdg-decoration check
2022-04-14 07:57:07 +04:00
Ilya Fedin
d5d8244abb
Convert window extents to native pixels
2022-04-11 13:17:22 +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
John Preston
f17320171a
Allow disabling system resize for a window on macOS.
2022-03-08 18:17:39 +04:00
Ilya Fedin
5195b7b45f
Use XCB instead of QPlatformNativeInterface to get state of translucent windows support
2021-12-14 09:52:19 +04:00
Ilya Fedin
692fd7a3a2
Use generic XCB::GetRootWindow instead of QPlatformNativeInterface-based GetRootWindowFromQt
2021-12-14 09:52:19 +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
64e40913df
Use new Qt 6 adapters
2021-10-19 19:28:45 +04:00
Ilya Fedin
8e5d35229a
Simple replacements for Qt 6
...
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
Ilya Fedin
15d1560e41
Move glibmm_helper include to others glib-related
2021-09-12 00:04:49 +03:00
Ilya Fedin
af1429cb87
Use XSettings + XDP instead of gtk for title controls layout
2021-09-05 17:40:34 +03:00
kvtb
7f15ac5f0e
fix compiling tdesktop with -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=ON
2021-08-09 12:24:12 +03: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
43efd9e307
Use custom xdg-shell for shadows on Wayland
2021-06-10 23:39:38 +04:00
Ilya Fedin
cedff6dbb5
Use new XCB::ReplyPointer
2021-05-31 22:51:23 +03:00
John Preston
e9fcbfcbac
Remove 'StartTranslucentPaint'.
2021-05-18 17:04:45 +04:00
John Preston
d07bee87cd
Use LOG/DEBUG_LOG from lib_base.
2021-04-20 16:39:27 +04:00
Ilya Fedin
50a0e7da64
Add IsOverlapped method
2021-04-20 15:35:31 +03:00
Ilya Fedin
99089134e3
Add a method to clear transient parent
2021-04-05 10:16:46 +03:00
Ilya Fedin
fc563c0d7c
Remove unneeded constexprs in ui_utility_linux
2021-03-09 09:01:12 +04:00
Ilya Fedin
b82cdd7e58
Connect to title layout changes right in TitleControlsLayout on Linux
2021-03-09 08:56:34 +04:00
Ilya Fedin
4d865f8313
Fix spaces on ends of lines
2021-03-05 13:31:38 +04:00
Ilya Fedin
af41bff7e4
Build with QT_NO_KEYWORDS
2021-03-03 22:34:02 +04:00
John Preston
794ea13f7e
Fix build on Linux.
2021-03-02 17:27:58 +04:00
Ilya Fedin
ae2c25f6a2
Add Platform::IsX11 in forgotten place
2021-02-25 11:05:00 +04:00
Ilya Fedin
db65fca0aa
Use new Platform::IsX11
2021-02-24 21:37:31 +04:00
Ilya Fedin
7d18c8687b
Add Haiku title layout
2021-02-22 23:36:45 +04:00
Ilya Fedin
ed1bc07cc3
Add DESKTOP_APP_DISABLE_X11_INTEGRATION
2021-02-22 23:36:45 +04:00
Ilya Fedin
0b74c396cb
Use gtk integration from lib_base
2021-02-19 12:30:58 +04:00
Ilya Fedin
6500dc9610
Qt-based title widget ported from tdesktop
2021-02-04 18:12:14 +04:00
John Preston
d4c99701b5
Fix deprecation warnings on Qt 5.15.1.
2020-11-04 18:44:45 +03:00
John Preston
608b25bd32
Allow custom drag area for Ui::Window.
2020-08-12 17:34:40 +04:00