Skip to content

Commit

Permalink
disable focus out event. It broke external windows focus.
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Sep 17, 2024
1 parent d7a7dcf commit 9b26e64
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/module/gtkwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ def block_delete(*args):
self.o("ui_window_main").connect("destroy", Gtk.main_quit)
self.o("ui_window_main").connect("delete-event", block_delete)
self.o("ui_window_main").connect("draw", self.__draw_window)
self.o("ui_window_main").connect(
"focus-out-event", self.__event_window_focus_out)
# Login button and password entry enter
self.o("ui_button_login").connect("clicked", self.__event_login_button)
self.o("ui_entry_password").connect(
Expand Down Expand Up @@ -108,9 +106,6 @@ def __init_gui(self):

############### Window event ###############

def __event_window_focus_out(self, sender, event):
self.o("ui_window_main").present()

def __draw_window(self, widget, context):
if self.background_pixbuf:
Gdk.cairo_set_source_pixbuf(context, self.background_pixbuf, 0, 0)
Expand Down

0 comments on commit 9b26e64

Please sign in to comment.