don't hover unshade while moving

BUG: 223074
REVIEW: 104280
This commit is contained in:
Thomas Lübking 2012-03-20 16:38:08 +01:00
parent df32d86d84
commit c900455599

View file

@ -1054,6 +1054,8 @@ void Client::setShade(bool set) {
void Client::setShade(ShadeMode mode)
{
if (mode == ShadeHover && isMove())
return; // causes geometry breaks and is probably nasty
if (isSpecialWindow() || noBorder())
mode = ShadeNone;
mode = rules()->checkShade(mode);