summaryrefslogtreecommitdiff
path: root/src/debug/HyprNotificationOverlay.hpp
diff options
context:
space:
mode:
authorItsDrike <itsdrike@protonmail.com>2024-03-02 19:12:31 +0100
committerGitHub <noreply@github.com>2024-03-02 18:12:31 +0000
commitbe89d6faa988f6bd33a66f02746872c649a16180 (patch)
tree1e2bfbf8d184a7209a5b973c42a869931572f8ef /src/debug/HyprNotificationOverlay.hpp
parent8811f4b69ade469285635c539f20194d717c8e17 (diff)
notifs: Implement notification dimissing (#4790)
Diffstat (limited to 'src/debug/HyprNotificationOverlay.hpp')
-rw-r--r--src/debug/HyprNotificationOverlay.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug/HyprNotificationOverlay.hpp b/src/debug/HyprNotificationOverlay.hpp
index 7a883f15..ef81b014 100644
--- a/src/debug/HyprNotificationOverlay.hpp
+++ b/src/debug/HyprNotificationOverlay.hpp
@@ -41,6 +41,7 @@ class CHyprNotificationOverlay {
void draw(CMonitor* pMonitor);
void addNotification(const std::string& text, const CColor& color, const float timeMs, const eIcons icon = ICON_NONE);
+ void dismissNotifications(const int amount);
bool hasAny();
private: