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

index 35845b628d77c260377c0a437bbeba21d1559d44..14a3c1952304cb5fcca163cd0dd7806cf2628ef0 100644 (file)
@@ -210,7 +210,6 @@ def _do_resize():
             _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()
@@ -219,6 +218,7 @@ def _do_resize():
                                     _popwidget.width()) / 2,
                         area.y() + (area.height() -
                                     _popwidget.height()) / 2)
+        _popwidget.show(1)
 
 def resize(data):
     """Resizes the window interactively. This should only be used with
This page took 0.02239 seconds and 4 git commands to generate.