Panels doesn't take focus
This commit is contained in:
parent
590608b19b
commit
26c50e3b3d
@ -38,6 +38,7 @@ class Panel(gtk.Window):
|
|||||||
|
|
||||||
self.realize()
|
self.realize()
|
||||||
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
|
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
|
||||||
|
self.window.set_accept_focus(False)
|
||||||
|
|
||||||
screen = gtk.gdk.screen_get_default()
|
screen = gtk.gdk.screen_get_default()
|
||||||
self.window.set_transient_for(screen.get_root_window())
|
self.window.set_transient_for(screen.get_root_window())
|
||||||
|
Loading…
Reference in New Issue
Block a user