File hyprpaper-wlproxy.patch of Package failed_hyprpaper

*** Begin Patch
*** Update File: src/Hyprpaper.cpp
@@
-            m_pSeatPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_resource* surface, wl_fixed_t x, wl_fixed_t y) {
+            /* Adjust parameter type to match installed wayland headers / generated protocol
+             * wrappers that use wl_proxy for forward-declared object references in C++ API.
+             */
+            m_pSeatPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_proxy* surface, wl_fixed_t x, wl_fixed_t y) {
@@
-                m_pSeatPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_resource* surface, wl_fixed_t x, wl_fixed_t y) {
+                m_pSeatPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_proxy* surface, wl_fixed_t x, wl_fixed_t y) {
*** End Patch
openSUSE Build Service is sponsored by