X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fmotion.py;h=c32c1e62a7fe86c014253a5c6af6a030ebef1432;hb=67fbe8354f27386235e0c8dc57bd036e34a4fe5e;hp=cdfb9477539822d60e88ab03d4bd84ca58b90e3c;hpb=ffe214dc4dbe4dbdef80951ebbd7c452f8675a48;p=chaz%2Fopenbox diff --git a/scripts/motion.py b/scripts/motion.py index cdfb9477..c32c1e62 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -149,8 +149,8 @@ def _do_move(): otk.Widget.Horizontal, 0, style.bevelWidth(), 1) _popwidget.setTexture(style.titlebarFocusBackground()) - _poplabel = otk.Label(_popwidget) - _poplabel.setTexture(style.labelFocusBackground()) + _poplabel = otk.FocusLabel(_popwidget) + _poplabel.focus() _poplabel.fitString(text) _poplabel.setText(text) _popwidget.update() @@ -238,8 +238,8 @@ def _do_resize(): otk.Widget.Horizontal, 0, style.bevelWidth(), 1) _popwidget.setTexture(style.titlebarFocusBackground()) - _poplabel = otk.Label(_popwidget) - _poplabel.setTexture(style.labelFocusBackground()) + _poplabel = otk.FocusLabel(_popwidget) + _poplabel.focus() _poplabel.fitString(text) _poplabel.setText(text) area = otk.display.screenInfo(_screen).rect()