mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 05:58:22 +01:00
Compare commits
5 Commits
7771263beb
...
e3656a3e40
Author | SHA1 | Date | |
---|---|---|---|
|
e3656a3e40 | ||
|
6afc6cbebf | ||
|
4c84207cc3 | ||
|
44deeea75d | ||
|
55deca56d5 |
@ -9,7 +9,7 @@ SRC_URI = "git://github.com/hyprwm/hyprcursor.git;protocol=https;branch=main"
|
|||||||
DEPENDS = "cairo librsvg libzip hyprlang tomlplusplus"
|
DEPENDS = "cairo librsvg libzip hyprlang tomlplusplus"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
SRCREV = "34efe230c2ac402faf4a15ca1d048a435e359358"
|
SRCREV = "c18572a92eb39e4921b4f4c2bca8521b6f701b58"
|
||||||
PV = "0.1.10"
|
PV = "0.1.10"
|
||||||
|
|
||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
@ -43,7 +43,7 @@ RRECOMMENDS:${PN} ?= " \
|
|||||||
|
|
||||||
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;nobranch=1"
|
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;nobranch=1"
|
||||||
|
|
||||||
SRCREV = "3cba4ba44e7ba3cc8bb67ac71bc61245b5aca347"
|
SRCREV = "9f7a96b997d90c4c188f3837e02859a25a05611e"
|
||||||
PV = "0.45.2"
|
PV = "0.45.2"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ DEPENDS = "hyprutils"
|
|||||||
SRC_URI = "git://github.com/hyprwm/hyprlang.git;protocol=https;branch=main"
|
SRC_URI = "git://github.com/hyprwm/hyprlang.git;protocol=https;branch=main"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
SRCREV = "f054f2e44d6a0b74607a6bc0f52dba337a3db38e"
|
SRCREV = "1b0c5957312d4e70353f1916a86bec305d98ba65"
|
||||||
PV = "0.5.3"
|
PV = "0.6.0"
|
||||||
|
|
||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=936078e4e67b0e1e1bd1e862d4ffbc25"
|
|||||||
|
|
||||||
SRC_URI = "git://github.com/hyprwm/hyprpaper.git;protocol=https;branch=main"
|
SRC_URI = "git://github.com/hyprwm/hyprpaper.git;protocol=https;branch=main"
|
||||||
|
|
||||||
PV = "0.7.1"
|
PV = "0.7.2"
|
||||||
SRCREV = "91e17e12ff7e862214197cc75cd7d9821eb7d0f7"
|
SRCREV = "5b763f16181d4f1f4be7dd7fb0c5ecfd0f758cb7"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
DEPENDS += " \
|
DEPENDS += " \
|
||||||
@ -14,8 +14,10 @@ DEPENDS += " \
|
|||||||
file \
|
file \
|
||||||
fribidi \
|
fribidi \
|
||||||
hyprlang \
|
hyprlang \
|
||||||
|
hyprgraphics \
|
||||||
hyprwayland-scanner-native \
|
hyprwayland-scanner-native \
|
||||||
jpeg \
|
jpeg \
|
||||||
|
libjxl \
|
||||||
libglvnd \
|
libglvnd \
|
||||||
libwebp \
|
libwebp \
|
||||||
pango \
|
pango \
|
||||||
@ -29,3 +31,5 @@ RDEPENDS:${PN} = "hyprlang"
|
|||||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||||
|
|
||||||
inherit cmake pkgconfig features_check
|
inherit cmake pkgconfig features_check
|
||||||
|
|
||||||
|
FILES:${PN} += "${systemd_user_unitdir}"
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
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
|
||||||
|
|
@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
git://github.com/KZDKM/Hyprspace.git;protocol=https;branch=main \
|
git://github.com/KZDKM/Hyprspace.git;protocol=https;branch=main \
|
||||||
|
file://0001-sFullscreenState-SFullscreenState.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRCREV = "3107652c5390bfe5efa685722152c3f30e2cb153"
|
SRCREV = "3107652c5390bfe5efa685722152c3f30e2cb153"
|
||||||
|
Loading…
Reference in New Issue
Block a user