From d17c9005607e181442b84e56cdcaaf2553dfb723 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 7 Jan 2025 14:23:24 +0100 Subject: [PATCH] hyprpicker: update --- ...001-hyprpicker.cpp-drop-wl_ressource.patch | 35 ------------------- .../hyprland/hyprpicker/hyprpicker_git.bb | 3 +- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 recipes-support/hyprland/hyprpicker/hyprpicker/0001-hyprpicker.cpp-drop-wl_ressource.patch diff --git a/recipes-support/hyprland/hyprpicker/hyprpicker/0001-hyprpicker.cpp-drop-wl_ressource.patch b/recipes-support/hyprland/hyprpicker/hyprpicker/0001-hyprpicker.cpp-drop-wl_ressource.patch deleted file mode 100644 index 37f5a6e..0000000 --- a/recipes-support/hyprland/hyprpicker/hyprpicker/0001-hyprpicker.cpp-drop-wl_ressource.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 15a51707cd18b398bf3a3abc077fd0f8245b3ceb Mon Sep 17 00:00:00 2001 -From: Markus Volk -Date: Mon, 30 Dec 2024 08:26:09 +0100 -Subject: [PATCH] hyprpicker.cpp: drop wl_ressource - -Signed-off-by: Markus Volk ---- - src/hyprpicker.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/hyprpicker.cpp b/src/hyprpicker.cpp -index 2e8dbbf..ed07b99 100644 ---- a/src/hyprpicker.cpp -+++ b/src/hyprpicker.cpp -@@ -573,7 +573,7 @@ void CHyprpicker::initKeyboard() { - } - - void CHyprpicker::initMouse() { -- m_pPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_resource* surface, wl_fixed_t surface_x, wl_fixed_t surface_y) { -+ m_pPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_proxy* surface, wl_fixed_t surface_x, wl_fixed_t surface_y) { - auto x = wl_fixed_to_double(surface_x); - auto y = wl_fixed_to_double(surface_y); - -@@ -590,7 +590,7 @@ void CHyprpicker::initMouse() { - - m_pCursorShapeDevice->sendSetShape(serial, WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_CROSSHAIR); - }); -- m_pPointer->setLeave([this](CCWlPointer* r, uint32_t timeMs, wl_resource* surf) { -+ m_pPointer->setLeave([this](CCWlPointer* r, uint32_t timeMs, wl_proxy* surf) { - for (auto& ls : m_vLayerSurfaces) { - if (ls->pSurface->resource() == surf) { - renderSurface(ls.get(), true); --- -2.47.1 - diff --git a/recipes-support/hyprland/hyprpicker/hyprpicker_git.bb b/recipes-support/hyprland/hyprpicker/hyprpicker_git.bb index 0482b03..0775dfe 100644 --- a/recipes-support/hyprland/hyprpicker/hyprpicker_git.bb +++ b/recipes-support/hyprland/hyprpicker/hyprpicker_git.bb @@ -4,10 +4,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=936078e4e67b0e1e1bd1e862d4ffbc25" SRC_URI = "git://github.com/hyprwm/hyprpicker.git;protocol=https;branch=main" -SRC_URI += "file://0001-hyprpicker.cpp-drop-wl_ressource.patch" PV = "0.4.1" S = "${WORKDIR}/git" -SRCREV = "46d2f5a817a89405cef941d8beb4551425acf3da" +SRCREV = "444c40e5e3dc4058a6a762ba5e73ada6d6469055" DEPENDS = " \ cairo \