diff options
Diffstat (limited to 'x11/hypridle/files')
-rw-r--r-- | x11/hypridle/files/patch-CMakeLists.txt | 23 | ||||
-rw-r--r-- | x11/hypridle/files/patch-src_core_Hypridle.cpp | 12 |
2 files changed, 12 insertions, 23 deletions
diff --git a/x11/hypridle/files/patch-CMakeLists.txt b/x11/hypridle/files/patch-CMakeLists.txt deleted file mode 100644 index a3f2db7850a9..000000000000 --- a/x11/hypridle/files/patch-CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ --- Checking for module 'hyprland-protocols>=0.6.0' --- Package 'hyprland-protocols' not found -CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:645 (message): - The following required packages were not found: - - - hyprland-protocols>=0.6.0 - ---- CMakeLists.txt.orig 2025-03-28 14:17:06 UTC -+++ CMakeLists.txt -@@ -57,8 +57,12 @@ message(STATUS "Found wayland-scanner pkgdatadir at ${ - pkg_get_variable(WAYLAND_SCANNER_PKGDATA_DIR wayland-scanner pkgdatadir) - message(STATUS "Found wayland-scanner pkgdatadir at ${WAYLAND_SCANNER_PKGDATA_DIR}") - --pkg_check_modules(hyprland_protocols_dep REQUIRED IMPORTED_TARGET hyprland-protocols>=0.6.0) -+pkg_check_modules(hyprland_protocols_dep IMPORTED_TARGET hyprland-protocols>=0.6.0) -+if(hyprland_protocols_dep_FOUND) - pkg_get_variable(HYPRLAND_PROTOCOLS hyprland-protocols pkgdatadir) -+else() -+set(HYPRLAND_PROTOCOLS "${CMAKE_SOURCE_DIR}/subprojects/hyprland-protocols") -+endif() - message(STATUS "Found hyprland-protocols at ${HYPRLAND_PROTOCOLS}") - - function(protocolnew protoPath protoName external) diff --git a/x11/hypridle/files/patch-src_core_Hypridle.cpp b/x11/hypridle/files/patch-src_core_Hypridle.cpp new file mode 100644 index 000000000000..d5f2395f2518 --- /dev/null +++ b/x11/hypridle/files/patch-src_core_Hypridle.cpp @@ -0,0 +1,12 @@ +https://github.com/hyprwm/hypridle/issues/68#issuecomment-2428697344 + +--- src/core/Hypridle.cpp.orig 2025-08-07 09:04:25 UTC ++++ src/core/Hypridle.cpp +@@ -180,6 +180,7 @@ void CHypridle::enterEventLoop() { + } + }); + ++ m_sEventLoopInternals.loopRequestMutex.try_lock(); + while (1) { // dbus events + // wait for being awakened + m_sEventLoopInternals.loopRequestMutex.unlock(); // unlock, we are ready to take events |