Skip to content
Snippets Groups Projects
Commit 6ef3b8e0 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Windows: Dont steal focus on notification

parent 05dc0044
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,8 @@ class PopupNotification(Gtk.Window):
icon_name=None, title=None, text=None, timeout=-1):
Gtk.Window.__init__(self)
self.set_type_hint(Gdk.WindowTypeHint.NOTIFICATION)
self.set_focus_on_map(False)
self.set_accept_focus(False)
self.set_name('NotificationPopup')
self.set_skip_taskbar_hint(True)
self.set_decorated(False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment