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
6dfefa3f21
g_message is a more appropriate log level for some messages
2020-08-18 08:16:17 +04:00
Ilya Fedin
eaae7b1d03
Decrease indentation in XCBLastUserInputTime
2020-08-18 08:16:17 +04:00
Ilya Fedin
d02092f09e
Add main window shadow for Linux
2020-08-18 08:16:17 +04:00
Ilya Fedin
1dcbb103a8
Move gtk clibpboard to linux_libs
2020-08-15 17:43:28 +04:00
Ilya Fedin
47673bba50
Move cExeName checks
2020-08-15 17:43:28 +04:00
Ilya Fedin
580e6baee6
Get rid of redudant fontconfig hack
2020-08-15 17:43:28 +04:00
Ilya Fedin
f56af090e0
Use GAppInfo instead of xdg-mime
...
This makes registering custom scheme distribution-compatible
2020-08-15 17:43:28 +04:00
Ilya Fedin
95c0c400c7
Use QProcess instead of system()
...
Use g_get_home_dir since it already uses both $HOME and passwd
2020-08-15 17:43:28 +04:00
Ilya Fedin
170ec16f39
Remove outdated snap autostart hack
2020-08-15 17:43:28 +04:00
Ilya Fedin
786bedf271
Disable Qt's integration mechanism on GTK-based DE to avoid early GTK loading
...
This also removes TDESKTOP_USE_GTK_FILE_DIALOG since it doesn't forces GTK dialog for anyone and there is no reason to leave it
TDESKTOP_DISABLE_GTK_INTEGRATION can be also tested via action now
2020-08-15 17:43:28 +04:00
Ilya Fedin
1de1747c38
Fix length of some lines in specific_linux and main_window_linux
2020-08-15 17:43:28 +04:00
Ilya Fedin
5dad293335
Add warnings about some build options and environment variables
2020-08-15 17:43:28 +04:00
Ilya Fedin
dc9d0aae54
Add support for showing window menu on Wayland
2020-08-11 10:56:29 +04:00
Ilya Fedin
252bdd2353
TDESKTOP_DISABLE_DBUS_INTEGRATION -> DESKTOP_APP_DISABLE_DBUS_INTEGRATION
2020-08-11 10:55:50 +04:00
Ilya Fedin
2b89700f66
libwayland headers are needed only with Qt < 5.13
2020-07-23 14:29:56 +04:00
Ilya Fedin
841908fe31
Read decoration layout property from gtk
2020-07-23 14:29:56 +04:00
John Preston
8c4e8212cd
Add 'respect system dark mode' checkbox.
2020-07-22 17:18:17 +04:00
Ilya Fedin
47a237c924
Implement system-based dark mode for Windows and Linux
2020-07-22 10:32:56 +04:00
Ilya Fedin
a6fe5c08ad
Add a method to get flatpak ID
2020-07-13 06:53:45 +04:00
Ilya Fedin
256e976167
Hide ProcessNameByPID and RealExecutablePath into a private namespace
2020-07-13 06:53:45 +04:00
Ilya Fedin
b587328fed
Add support for custom titlebar on Linux with Qt < 5.15
2020-07-12 23:19:05 +04:00
Ilya Fedin
2fd5771c3d
Add support for org.gnome.Mutter.IdleMonitor
2020-07-12 22:19:44 +04:00
Ilya Fedin
59b521d666
Implement xcb-based LastUserInputTime method
2020-07-12 22:19:44 +04:00
Ilya Fedin
dd76d54aeb
Fix build with TDESKTOP_DISABLE_GTK_INTEGRATION
2020-06-30 22:13:36 +04:00
Ilya Fedin
4922768086
Don't use QLibrary for glib
2020-06-29 16:27:45 +04:00
Ilya Fedin
806f2e0b50
Check for all needed gtk functions for gtk clipboard
2020-06-29 16:27:45 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
Ilya Fedin
9a65481e9d
Unset QT_STYLE_OVERRIDE instead of forcing Fusion
...
To don't break styling on KDE
2020-06-23 21:23:47 +04:00
Ilya Fedin
3a91003eea
Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595
2020-06-17 20:34:47 +04:00
Ilya Fedin
e009ac026d
Update snap to core20
2020-06-09 19:01:35 +04:00
Ilya Fedin
ab13d9bdaf
Skip empty parts in QT_QPA_PLATFORMTHEME
2020-06-03 11:31:34 +04:00
Ilya Fedin
0165e31ca7
Never use custom code for portal detecting in flatpak
2020-06-03 11:31:34 +04:00
Ilya Fedin
c776f81dc7
Add support for choosing directories via xdg-desktop-portal
2020-06-03 11:31:34 +04:00
Ilya Fedin
e098922a4b
Add Platform::AutostartSupported
2020-06-01 18:25:21 +04:00
Ilya Fedin
10b169f9f6
Make not supported errors static
2020-06-01 18:19:34 +04:00
Ilya Fedin
c83b8d4043
Fix naming of static variables
2020-06-01 18:19:34 +04:00
Ilya Fedin
1fc2b19c94
Add Cinnamon sound settings command
2020-06-01 18:19:34 +04:00
Ilya Fedin
fb97940cac
Rename SandboxAutostart to PortalAutostart
2020-06-01 18:19:34 +04:00
Ilya Fedin
16c38b54e2
Rename InSandbox to InFlatpak
2020-06-01 18:19:34 +04:00
Ilya Fedin
7f29f57c3d
Use custom gtk file dialog only on gtk-based DEs
2020-06-01 18:19:34 +04:00
Ilya Fedin
47d7bd95ae
Add a method to check if gtk integration is forced
2020-06-01 18:19:34 +04:00
Ilya Fedin
1504136828
Don't spam logs if there are no dbus
2020-05-26 07:24:18 +04:00
Ilya Fedin
4c1f83daca
Add a check for bundled Qt plugins
2020-05-24 10:57:37 +04:00
Ilya Fedin
d1d1f83881
Remove outdated LIBGL_ALWAYS_INDIRECT hack
2020-05-08 12:54:21 +04:00
Ilya Fedin
161e51757c
Change color of wayland decoration according to theme
2020-05-01 12:26:10 +04:00
Ilya Fedin
7f890122e6
Add methods to detect appimage, static binary and forced gtk dialog
2020-04-26 12:28:34 +04:00
Ilya Fedin
7bc86cc9af
Fix directory opening with portal and use them by default with KDE
2020-04-24 14:33:26 +04:00
Ilya Fedin
ed91c07f99
Restore the old behavior with fallback fontconfig configuration
...
With current code fallback works only through time and replaces the config even if it is changed by the user.
This commit fixes that.
2020-04-13 10:49:30 +04:00
John Preston
0d58f1c9fa
Try system font config once in snap build.
2020-03-30 12:18:50 +04:00