Skip to content

Commit 8d0f5bb

Browse files
ilya-fedinjohn-preston
authored andcommitted
Use custom xdg-shell fork for shadows on Wayland
1 parent 2f98666 commit 8d0f5bb

6 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎.gitmodules‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,6 @@
9494
[submodule "Telegram/ThirdParty/mallocng"]
9595
path = Telegram/ThirdParty/mallocng
9696
url = https://github.com/desktop-app/mallocng.git
97+
[submodule "Telegram/lib_waylandshells"]
98+
path = Telegram/lib_waylandshells
99+
url = https://github.com/desktop-app/lib_waylandshells.git

‎Telegram/CMakeLists.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ endif()
1818
add_subdirectory(lib_storage)
1919
add_subdirectory(lib_lottie)
2020
add_subdirectory(lib_qr)
21+
if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
22+
add_subdirectory(lib_waylandshells)
23+
endif()
2124
add_subdirectory(lib_webrtc)
2225
add_subdirectory(lib_webview)
2326
add_subdirectory(codegen)
@@ -110,6 +113,7 @@ elseif (LINUX)
110113
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
111114
target_link_libraries(Telegram
112115
PRIVATE
116+
desktop-app::lib_waylandshells
113117
desktop-app::external_kwayland
114118
)
115119
endif()

‎Telegram/build/docker/centos_env/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,7 @@ RUN cmake3 --build out/Debug -- -j$(nproc)
771771

772772
FROM builder
773773

774+
COPY --from=extra-cmake-modules ${LibrariesPath}/extra-cmake-modules-cache /
774775
COPY --from=libffi ${LibrariesPath}/libffi-cache /
775776
COPY --from=xz ${LibrariesPath}/xz-cache /
776777
COPY --from=libproxy ${LibrariesPath}/libproxy-cache /

‎Telegram/lib_waylandshells‎

Submodule lib_waylandshells added at 817eb07

0 commit comments

Comments
 (0)