From 2a002f31e4077ff6dd20a7116e372712e3b4e7f8 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 14 Feb 2024 11:09:18 +0000 Subject: renderer: don't set solitary on present notifications fixes #4647 --- src/debug/HyprNotificationOverlay.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/debug/HyprNotificationOverlay.cpp') diff --git a/src/debug/HyprNotificationOverlay.cpp b/src/debug/HyprNotificationOverlay.cpp index 12f7a575..2968134b 100644 --- a/src/debug/HyprNotificationOverlay.cpp +++ b/src/debug/HyprNotificationOverlay.cpp @@ -226,4 +226,8 @@ void CHyprNotificationOverlay::draw(CMonitor* pMonitor) { CBox pMonBox = {0, 0, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y}; g_pHyprOpenGL->renderTexture(m_tTexture, &pMonBox, 1.f); +} + +bool CHyprNotificationOverlay::hasAny() { + return !m_dNotifications.empty(); } \ No newline at end of file -- cgit v1.2.3