summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/motion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/motion.py b/scripts/motion.py
index 35845b62..14a3c195 100644
--- a/scripts/motion.py
+++ b/scripts/motion.py
@@ -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