hyprerror: fix height calc with bottom bar (#8043)

This commit is contained in:
JManch 2024-10-09 10:24:35 +01:00 committed by GitHub
parent 223dcc8bac
commit 3d28879c26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);