hover pauses notification

This commit is contained in:
2026-02-02 23:42:08 +01:00
parent 6d9f016350
commit 9898c48c67
6 changed files with 199 additions and 58 deletions

View File

@@ -28,8 +28,9 @@ class NotificationController {
private:
uint64_t globalNotificationId = 1;
std::map<uint64_t, std::vector<std::shared_ptr<BaseNotification>>> activeNotifications;
std::map<uint64_t, int> hoverCounts;
NotificationController();
std::vector<std::shared_ptr<Gdk::Monitor>> activeMonitors;
void updateHoverState(uint64_t notificationId, bool isHovered);
void closeNotification(uint64_t notificationId);
};
};