From: Dana Jansens Date: Sun, 2 Feb 2003 23:24:44 +0000 (+0000) Subject: show the widget after moving it X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6eae9223a110f620c565c8c5a4e6b43d9f87b7d3;p=chaz%2Fopenbox show the widget after moving it --- 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