mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 22:22:00 -07:00
notifications: Schedule a frame on notification creation (#3556)
This commit is contained in:
committed by
GitHub
parent
e4bcd2e2da
commit
3a61350286
@@ -44,6 +44,10 @@ void CHyprNotificationOverlay::addNotification(const std::string& text, const CC
|
|||||||
PNOTIF->started.reset();
|
PNOTIF->started.reset();
|
||||||
PNOTIF->timeMs = timeMs;
|
PNOTIF->timeMs = timeMs;
|
||||||
PNOTIF->icon = icon;
|
PNOTIF->icon = icon;
|
||||||
|
|
||||||
|
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||||
|
g_pCompositor->scheduleFrameForMonitor(m.get());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wlr_box CHyprNotificationOverlay::drawNotifications(CMonitor* pMonitor) {
|
wlr_box CHyprNotificationOverlay::drawNotifications(CMonitor* pMonitor) {
|
||||||
|
Reference in New Issue
Block a user