BUG: 180754. Prevent 0% opacity using a mouse action. Limit opacity to 10%
svn path=/trunk/KDE/kdebase/workspace/; revision=926270
This commit is contained in:
parent
b1e7b937a0
commit
db1d1dd8d6
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ bool Client::performMouseCommand( Options::MouseCommand command, const QPoint &g
|
|||
break;
|
||||
case Options::MouseOpacityLess:
|
||||
if( !isDesktop() ) // No point in changing the opacity of the desktop
|
||||
setOpacity( qMax( opacity() - 0.1, 0.0 ));
|
||||
setOpacity( qMax( opacity() - 0.1, 0.1 ));
|
||||
break;
|
||||
case Options::MouseNothing:
|
||||
replay = true;
|
||||
|
|
Loading…
Reference in a new issue