mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-09 01:49:51 +01:00
notifications: Schedule a frame on notification creation (#3556)
This commit is contained in:
parent
e4bcd2e2da
commit
3a61350286
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ void CHyprNotificationOverlay::addNotification(const std::string& text, const CC
|
|||
PNOTIF->started.reset();
|
||||
PNOTIF->timeMs = timeMs;
|
||||
PNOTIF->icon = icon;
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
g_pCompositor->scheduleFrameForMonitor(m.get());
|
||||
}
|
||||
}
|
||||
|
||||
wlr_box CHyprNotificationOverlay::drawNotifications(CMonitor* pMonitor) {
|
||||
|
|
Loading…
Reference in a new issue