Skip to content

Commit

Permalink
register the draw callback just once since we register it on the window
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@24581 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 3, 2019
1 parent 0408151 commit 7ca7013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/client/gtk3/gtk3_client_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class GTK3ClientWindow(GTKClientWindowBase):
OR_TYPE_HINTS = GTK3_OR_TYPE_HINTS
NAME_TO_HINT = WINDOW_NAME_TO_HINT

def init_widget_events(self, widget):
GTKClientWindowBase.init_widget_events(self, widget)
def init_window(self, metadata):
super().init_window(metadata)
self.connect("draw", self._do_draw)

def get_backing_class(self):
Expand Down

0 comments on commit 7ca7013

Please sign in to comment.