mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
gui-apps/hyprpaper: 0.7.3, patch hyprwayland-scanner
This patch adds support for hyprwayland-scanner 0.4.4, while still supporting 0.4.2. Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
diff --git a/src/Hyprpaper.cpp b/src/Hyprpaper.cpp
|
||||
index e83c36d..1825288 100644
|
||||
--- a/src/Hyprpaper.cpp
|
||||
+++ b/src/Hyprpaper.cpp
|
||||
@@ -201,7 +201,7 @@ void CHyprpaper::createSeat(SP<CCWlSeat> pSeat) {
|
||||
else
|
||||
m_pSeatCursorShapeDevice = makeShared<CCWpCursorShapeDeviceV1>(m_pCursorShape->sendGetPointer(m_pSeatPointer->resource()));
|
||||
|
||||
- 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) {
|
||||
if (!m_pCursorShape) {
|
||||
m_pSeatPointer->sendSetCursor(serial, nullptr, 0, 0);
|
||||
return;
|
||||
|
||||
@@ -29,12 +29,16 @@ DEPEND="
|
||||
dev-libs/wayland-protocols
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-util/hyprwayland-scanner-0.4.0
|
||||
>=dev-util/hyprwayland-scanner-0.4.2
|
||||
dev-util/wayland-scanner
|
||||
dev-vcs/git
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/hyprpaper-0.7.3-fix-wayland-scanner.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake protocols
|
||||
cmake_src_compile
|
||||
@@ -5,6 +5,10 @@
|
||||
<name>Julien Roy</name>
|
||||
<email>julien@jroy.ca</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<name>John M. Harris, Jr.</name>
|
||||
<email>johnmh@johnmh.me</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/hyprwm/hyprpaper/issues</bugs-to>
|
||||
<changelog>https://github.com/hyprwm/hyprpaper/releases</changelog>
|
||||
|
||||
Reference in New Issue
Block a user