aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJManch <[email protected]>2024-10-09 10:24:35 +0100
committerGitHub <[email protected]>2024-10-09 10:24:35 +0100
commit3d28879c2640cdb6e8426127692240100793bfef (patch)
treeb2156d067bbb0973ad44d34dc063ed3f21381477
parent223dcc8bac7fee90aa6aa7596d9379e56b526e62 (diff)
downloadHyprland-3d28879c2640cdb6e8426127692240100793bfef.tar.gz
Hyprland-3d28879c2640cdb6e8426127692240100793bfef.zip
hyprerror: fix height calc with bottom bar (#8043)
-rw-r--r--src/hyprerror/HyprError.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp
index 5f63de24..4044bcc9 100644
--- a/src/hyprerror/HyprError.cpp
+++ b/src/hyprerror/HyprError.cpp
@@ -133,7 +133,7 @@ void CHyprError::createQueued() {
}
m_szQueued = "";
- m_fLastHeight = yoffset + PAD + 1;
+ m_fLastHeight = yoffset + PAD + 1 - (TOPBAR ? 0 : Y - PAD);
pango_font_description_free(pangoFD);
g_object_unref(layoutText);