2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

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, "