diff --git a/scripts/motion.py b/scripts/motion.py index 9c8aa27c..35845b62 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -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