Compare commits

..

4 Commits

Author SHA1 Message Date
Markus Volk
08c05491a2 hyprland-plugins: update 2024-12-17 09:56:53 +01:00
Markus Volk
a88f82b035 hyprland: update 2024-12-17 09:56:37 +01:00
Markus Volk
b3a5b224ba hyprspace: update 2024-12-17 09:56:14 +01:00
Markus Volk
914245c18a xdg-desktop-portal-hyprland: update 2024-12-17 09:54:09 +01:00
6 changed files with 8 additions and 57 deletions

View File

@ -4,7 +4,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352"
# Note: meta-qt6 is needed
DEPENDS = "qtbase"
DEPENDS = "qtbase hyprutils"
RDEPENDS:${PN} = "qtwayland"
RRECOMMENDS:${PN} = "qgnomeplatform"

View File

@ -1,3 +1,3 @@
SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
SRCREV = "05f4271dfc5d4cef9710db654eb1dd9894a16ac0"
PV = "1.3.7"
SRCREV = "3e884d941ca819c1f2e50df8bdae0debded1ed87"
PV = "1.3.8"

View File

@ -1,5 +1,5 @@
SRC_URI = "git://github.com/hyprwm/hyprland-plugins.git;protocol=https;branch=main"
SRCREV = "2530394e67b436f4aea8225111cf37c1403ccb78"
SRCREV = "3dcca4c0d40925fbb69a67be54eef1cf8730843c"
# Hack to allow patching the plugins
do_configure:prepend() {

View File

@ -22,6 +22,7 @@ DEPENDS += " \
libxkbcommon \
pango \
pixman \
re2 \
tomlplusplus \
util-linux-libuuid \
virtual/egl \
@ -43,8 +44,8 @@ RRECOMMENDS:${PN} ?= " \
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;nobranch=1"
SRCREV = "9f7a96b997d90c4c188f3837e02859a25a05611e"
PV = "0.45.2"
SRCREV = "788ae588979c2a1ff8a660f16e3c502ef5796755"
PV = "0.46.0"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check

View File

@ -1,49 +0,0 @@
From d34f18114d634a7a0769259b9453121d1e738de6 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Sat, 14 Dec 2024 17:59:40 +0100
Subject: [PATCH] sFullscreenState->SFullscreenState
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
src/Overview.cpp | 4 ++--
src/Render.cpp | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Overview.cpp b/src/Overview.cpp
index d28da70..38d61fd 100644
--- a/src/Overview.cpp
+++ b/src/Overview.cpp
@@ -41,7 +41,7 @@ void CHyprspaceWidget::show() {
if (ws->m_efFullscreenMode == FSMODE_FULLSCREEN) w->m_bWantsInitialFullscreen = true;
// we use the getWindowFromHandle function to prevent dangling pointers
prevFullscreen.emplace_back(std::make_tuple((uint32_t)(((uint64_t)w.get()) & 0xFFFFFFFF), ws->m_efFullscreenMode));
- g_pCompositor->setWindowFullscreenState(w, sFullscreenState{.internal = FSMODE_NONE, .client = FSMODE_NONE});
+ g_pCompositor->setWindowFullscreenState(w, SFullscreenState{.internal = FSMODE_NONE, .client = FSMODE_NONE});
}
}
}
@@ -108,7 +108,7 @@ void CHyprspaceWidget::hide() {
for (auto& fs : prevFullscreen) {
const auto w = g_pCompositor->getWindowFromHandle(std::get<0>(fs));
const auto oFullscreenMode = std::get<1>(fs);
- g_pCompositor->setWindowFullscreenState(w, sFullscreenState(oFullscreenMode));
+ g_pCompositor->setWindowFullscreenState(w, SFullscreenState(oFullscreenMode));
if (oFullscreenMode == FSMODE_FULLSCREEN) w->m_bWantsInitialFullscreen = false;
}
prevFullscreen.clear();
diff --git a/src/Render.cpp b/src/Render.cpp
index eaac216..23d77c5 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -23,7 +23,7 @@ void renderWindowStub(PHLWINDOW pWindow, PHLMONITOR pMonitor, PHLWORKSPACE pWork
g_pHyprOpenGL->m_RenderData.renderModif.modifs.push_back({SRenderModifData::eRenderModifType::RMOD_TYPE_SCALE, curScaling});
g_pHyprOpenGL->m_RenderData.renderModif.enabled = true;
pWindow->m_pWorkspace = pWorkspaceOverride;
- pWindow->m_sFullscreenState = sFullscreenState{FSMODE_NONE}; // FIXME: still do nothing, fullscreen requests not reject when overview active
+ pWindow->m_sFullscreenState = SFullscreenState{FSMODE_NONE}; // FIXME: still do nothing, fullscreen requests not reject when overview active
pWindow->m_sWindowData.nearestNeighbor = false; // FIX: this wont do, need to scale surface texture down properly so that windows arent shown as pixelated mess
pWindow->m_bIsFloating = false; // weird shit happened so hack fix
pWindow->m_bPinned = true;
--
2.47.1

View File

@ -5,10 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = " \
git://github.com/KZDKM/Hyprspace.git;protocol=https;branch=main \
file://0001-sFullscreenState-SFullscreenState.patch \
"
SRCREV = "3107652c5390bfe5efa685722152c3f30e2cb153"
SRCREV = "e2d561c933cd085d68bf0b39c4f78870ad0abbc2"
S = "${WORKDIR}/git"
DEPENDS += " \