fix rendering of window frame on focus change
rathnor rathnor
2 files changed,
13 insertions(+),
1 deletions(-)
M
src/FbWinFrame.cc
→
src/FbWinFrame.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ }
m_focused = newvalue; + renderTitlebar(); renderButtons(); renderHandles(); }@@ -881,8 +882,16 @@ }
} 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(); }