forked from pool/telegram-desktop
8a580e5fb9
- Update to 1.9.12 * Switch to the Picture-in-Picture mode to watch your video in a small window. * Change video playback speed in the playback controls '...' menu. * Rotate photos and videos in the media viewer using the rotate button in the bottom right corner. OBS-URL: https://build.opensuse.org/request/show/773970 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=124
16 lines
672 B
Diff
16 lines
672 B
Diff
--- a/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-02-06 11:24:06.271620992 +0100
|
|
+++ b/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-02-06 11:27:36.265427510 +0100
|
|
@@ -222,10 +222,10 @@ void start() {
|
|
bool isWayland = QGuiApplication::platformName().startsWith(qsl("wayland"), Qt::CaseInsensitive);
|
|
QLibrary lib_gtk;
|
|
|
|
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
|
|
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
|
gtkLoaded = setupGtkBase(lib_gtk);
|
|
}
|
|
- if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
|
+ if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-3", 0)) {
|
|
gtkLoaded = setupGtkBase(lib_gtk);
|
|
}
|
|
|