mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
Load wayland-client dynamically and provide functions.
This commit is contained in:
@@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "base/platform/base_platform_info.h"
|
#include "base/platform/base_platform_info.h"
|
||||||
#include "base/platform/linux/base_linux_glibmm_helper.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_gtk_integration.h"
|
||||||
|
#include "base/platform/linux/base_linux_wayland_integration.h"
|
||||||
#include "platform/linux/linux_desktop_environment.h"
|
#include "platform/linux/linux_desktop_environment.h"
|
||||||
#include "platform/linux/linux_gtk_integration.h"
|
#include "platform/linux/linux_gtk_integration.h"
|
||||||
#include "platform/linux/linux_wayland_integration.h"
|
#include "platform/linux/linux_wayland_integration.h"
|
||||||
@@ -756,6 +757,10 @@ void start() {
|
|||||||
integration->load();
|
integration->load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsWayland() && !base::Platform::ResolveWayland()) {
|
||||||
|
g_warning("Could not load wayland-client dynamically.");
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
||||||
g_warning(
|
g_warning(
|
||||||
"Application has been built with foreign rlottie, "
|
"Application has been built with foreign rlottie, "
|
||||||
|
Submodule Telegram/lib_base updated: 356daf59b3...613cfe6d80
Submodule Telegram/lib_webview updated: 91c0e6664d...0b4100d7ce
2
cmake
2
cmake
Submodule cmake updated: 52ccf5e17a...d1a7e08aa0
Reference in New Issue
Block a user