[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/workspace/kwin
From: Martin Gräßlin <kde () martin-graesslin ! com>
Date: 2010-06-20 12:23:04
Message-ID: 20100620122304.A44A8AC8D9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1140344 by graesslin:
Backport rev 1140343: When restarting kwin and there is a shaded group, set shade is \
called before a decoration is created. Catch this case, so that kwin \
doesn't crash.
CCBUG: 242206
M +2 -0 client.cpp
--- branches/KDE/4.4/kdebase/workspace/kwin/client.cpp #1140343:1140344
@@ -968,6 +968,7 @@
assert( decoration != NULL ); // noborder windows can't be shaded
GeometryUpdatesBlocker blocker( this );
// Decorations may turn off some borders when shaded
+ if( decoration )
decoration->borders( border_left, border_right, border_top, border_bottom );
// TODO: All this unmapping, resizing etc. feels too much duplicated from \
elsewhere @@ -1012,6 +1013,7 @@
updateVisibility();
updateAllowedActions();
workspace()->updateMinimizedOfTransients( this );
+ if( decoration )
decoration->shadeChange();
updateWindowRules();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic