Commit 4a9a92bc authored by Erik Reider's avatar Erik Reider

Fixed the floating notifications window sometimes not picking the currently focused monitor

parent 2438faeb
......@@ -46,6 +46,11 @@ namespace SwayNotificationCenter {
});
this.unmap.connect (() => {
debug ("NotificationWindow un-mapped");
// Destroy the wl_surface to get a new "enter-monitor" signal and
// fixes issues where keyboard shortcuts stop working after clearing
// all notifications.
((Gtk.Widget) this).unrealize ();
});
// TODO: Make option
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment