Load wayland-client dynamically and provide functions.

This commit is contained in:
John Preston 2021-04-29 10:36:27 +04:00
parent 404538c989
commit 70bf328e7d
4 changed files with 8 additions and 3 deletions

View File

@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "base/platform/base_platform_info.h"
#include "base/platform/linux/base_linux_glibmm_helper.h"
#include "base/platform/linux/base_linux_gtk_integration.h"
#include "base/platform/linux/base_linux_wayland_integration.h"
#include "platform/linux/linux_desktop_environment.h"
#include "platform/linux/linux_gtk_integration.h"
#include "platform/linux/linux_wayland_integration.h"
@ -756,6 +757,10 @@ void start() {
integration->load();
}
if (IsWayland() && !base::Platform::ResolveWayland()) {
g_warning("Could not load wayland-client dynamically.");
}
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
g_warning(
"Application has been built with foreign rlottie, "

@ -1 +1 @@
Subproject commit 356daf59b35b2086cf5527e1c255557967fbb0af
Subproject commit 613cfe6d80c6c416571596f8a27da1550495d5e0

@ -1 +1 @@
Subproject commit 91c0e6664db4a444d630e3a0101f599a92df1dd9
Subproject commit 0b4100d7cecc4e748c51f3f51ebfd1392ec3978a

2
cmake

@ -1 +1 @@
Subproject commit 52ccf5e17ab1bd7b352346c43706dc5e53bd19ca
Subproject commit d1a7e08aa044c2ace3c6b17ddf83cf971b31c46a