Ilya Fedin
|
99b7f051c7
|
Restore mouse button release hack in title widget event filter
|
2021-03-06 12:07:39 +04:00 |
John Preston
|
5b0ad9ec4d
|
Revert "Take in account device pixel ratio when setting window extents"
This reverts commit d44f076f0b .
|
2021-02-21 08:07:57 +04:00 |
Ilya Fedin
|
15d18077b8
|
Use new methods from lib_ui
|
2021-02-19 14:15:09 +04:00 |
Ilya Fedin
|
a9c08552c8
|
Check if resize area is null
|
2021-02-19 12:37:14 +04:00 |
Ilya Fedin
|
d44f076f0b
|
Take in account device pixel ratio when setting window extents
|
2021-02-17 11:16:00 +04:00 |
Ilya Fedin
|
3637fec397
|
Ensure controls aren't duplictated
|
2021-02-17 11:16:00 +04:00 |
Ilya Fedin
|
e109da037e
|
Add a private method to get control widget by enum to TitleWidgetQt
|
2021-02-17 11:16:00 +04:00 |
Ilya Fedin
|
57ca6e23b9
|
Port Qt-based title widget to lib_ui
|
2021-02-04 18:11:44 +04:00 |
Ilya Fedin
|
76457c1e52
|
Restore QGuiApplication::setOverrideCursor usage
QWindow::setCursor doesn't work as expected...
|
2021-02-03 10:27:54 +04:00 |
Ilya Fedin
|
bcc333c2e1
|
Use QWindow::setCursor instead of QGuiApplication::setCursorOverride
|
2021-02-02 20:12:24 +04:00 |
Ilya Fedin
|
834ee4eae7
|
Fix crash with fcitx and custom titlebar
|
2021-01-28 11:45:27 +04:00 |
Ilya Fedin
|
bb016e1489
|
Restore frameless hint on showing to workaround a bug in Qt
|
2021-01-22 17:12:53 +04:00 |
Ilya Fedin
|
d7ef484aec
|
Use QWindow::setFlag that doesn't hide the windw
|
2020-11-16 12:33:55 +03:00 |
John Preston
|
74d2313784
|
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
|
2020-11-06 11:21:34 +03:00 |
Ilya Fedin
|
49e96d857a
|
Add drag distance for move-by-titlebar to process double click right
|
2020-10-30 10:56:57 +03:00 |
John Preston
|
4ebc62afd2
|
Fix build on Linux.
|
2020-10-02 17:29:28 +03:00 |
John Preston
|
18cb26fed6
|
Change flags / attributes when changing window frame.
|
2020-10-02 16:17:53 +03:00 |
Ilya Fedin
|
7fef7e6315
|
Don't add shadow on Wayland
It was implemented like a hack and worked like a hack... Looks like it is better to wait until Qt give a way to create shadows.
|
2020-10-01 16:30:53 +03:00 |
Ilya Fedin
|
c77f1bf082
|
Add UnsetWindowExtents method
|
2020-08-30 17:00:43 +04:00 |
Ilya Fedin
|
612e0d4a10
|
Update window shadow size on window state change
|
2020-08-30 17:00:43 +04:00 |
Ilya Fedin
|
78a2835bbf
|
Extents should be updated on each event only on Wayland
|
2020-08-30 17:00:43 +04:00 |
Ilya Fedin
|
ea8e256a23
|
Revert "Revert "Add main window shadow for Linux""
This reverts commit b7f5cfe083 .
|
2020-08-30 17:00:43 +04:00 |
John Preston
|
b7f5cfe083
|
Revert "Add main window shadow for Linux"
This reverts commit d02092f09e .
Conflicts:
Telegram/SourceFiles/mainwindow.cpp
Telegram/SourceFiles/platform/linux/specific_linux.cpp
Telegram/SourceFiles/window/main_window.cpp
|
2020-08-23 16:38:49 +04:00 |
Ilya Fedin
|
d02092f09e
|
Add main window shadow for Linux
|
2020-08-18 08:16:17 +04:00 |
Ilya Fedin
|
65e2bbee3e
|
Override cursor only if no buttons pressed
|
2020-08-11 12:58:07 +04:00 |
Ilya Fedin
|
dc9d0aae54
|
Add support for showing window menu on Wayland
|
2020-08-11 10:56:29 +04:00 |
Ilya Fedin
|
841908fe31
|
Read decoration layout property from gtk
|
2020-07-23 14:29:56 +04:00 |
Ilya Fedin
|
b587328fed
|
Add support for custom titlebar on Linux with Qt < 5.15
|
2020-07-12 23:19:05 +04:00 |
John Preston
|
b13b4a6b5c
|
Fix system window frame toggle on Linux.
|
2020-07-07 21:34:25 +04:00 |
Ilya Fedin
|
d8cc7a9b50
|
Pass Qt::Edges to updateCursor and startResize
|
2020-07-02 11:33:58 +04:00 |
Ilya Fedin
|
e7c598e533
|
Reset cursor on window leave
|
2020-06-30 22:14:15 +04:00 |
Ilya Fedin
|
5e8e654324
|
Add cross-platform TitleWidget implementation based on startSystemMove/startSystemResize
|
2020-06-29 17:04:05 +04:00 |