fix rendering of window frame on focus change

This commit is contained in:
rathnor 2003-10-02 13:09:24 +00:00
parent 412897c99a
commit ae6e193aa7
2 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.6:
*03/10/02:
* Fix updating of window on focus change (Simon)
FbWinFrame.cc
*03/09/29:
* Fix aterm not updating on opaque move (Thanks Mathias Gumz)
Window.cc

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: FbWinFrame.cc,v 1.54 2003/09/24 14:02:25 rathnor Exp $
// $Id: FbWinFrame.cc,v 1.55 2003/10/02 13:09:24 rathnor Exp $
#include "FbWinFrame.hh"
@ -238,6 +238,7 @@ void FbWinFrame::setFocus(bool newvalue) {
m_focused = newvalue;
renderTitlebar();
renderButtons();
renderHandles();
}
@ -881,8 +882,16 @@ void FbWinFrame::renderHandles() {
}
m_grip_left.setAlpha(theme().alpha());
m_grip_left.clear();
m_grip_left.updateTransparent();
m_grip_right.setAlpha(theme().alpha());
m_grip_right.clear();
m_grip_right.updateTransparent();
m_handle.setAlpha(theme().alpha());
m_handle.clear();
m_handle.updateTransparent();
}