# HG changeset patch # User Thinker K.F. Li # Date 1289990998 -28800 # Node ID dbb5462c471f9358b098e6a3a3c4ada75fa64b4e # Parent 1028f6278ead1523025dab88b7c679d0dbd68793 Do not draw active frame when it is not set diff -r 1028f6278ead -r dbb5462c471f pyink/frameline.py --- a/pyink/frameline.py Wed Nov 17 17:25:44 2010 +0800 +++ b/pyink/frameline.py Wed Nov 17 18:49:58 2010 +0800 @@ -331,6 +331,9 @@ pass def _draw_active(self): + if self._active_frame == -1: + return + win = self.window w_x, w_y, w_w, w_h, depth = win.get_geometry()