]> Dogcows Code - chaz/openbox/commitdiff
show the widget after moving it
authorDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:24:44 +0000 (23:24 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:24:44 +0000 (23:24 +0000)
scripts/motion.py

index 9c8aa27c1820768c46a2fa416b34059bd73f80fb..35845b628d77c260377c0a437bbeba21d1559d44 100644 (file)
@@ -115,7 +115,6 @@ def _do_move():
             _popwidget.setTexture(style.titlebarFocusBackground())
             _poplabel = otk.Label(_popwidget)
             _poplabel.setTexture(style.labelFocusBackground())
-            _popwidget.show(1)
         _poplabel.fitString(text)
         _poplabel.setText(text)
         area = otk.display.screenInfo(_screen).rect()
@@ -124,6 +123,7 @@ def _do_move():
                                     _popwidget.width()) / 2,
                         area.y() + (area.height() -
                                     _popwidget.height()) / 2)
+        _popwidget.show(1)
 
 def move(data):
     """Moves the window interactively. This should only be used with
This page took 0.022138 seconds and 4 git commands to generate.