summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Shaforostoff <shafff@ukr.net>2015-01-27 01:53:17 (GMT)
committerNick Shaforostoff <shafff@ukr.net>2015-01-27 01:53:17 (GMT)
commit116b1d170eb25b957a3c0f3d21b429afc3f88d6a (patch)
treed7266e7f5381af06641cbfb540592f856b917a82
parent4d87096ba7e1ce896107599863d540c8283b1b07 (diff)
fix total system freeze on some systems like my 10 inch netbook
thanks Thomas Lübking for providing the patch BUG: 340294
-rw-r--r--lookandfeel/contents/windowswitcher/WindowSwitcher.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lookandfeel/contents/windowswitcher/WindowSwitcher.qml b/lookandfeel/contents/windowswitcher/WindowSwitcher.qml
index acb212f..e4a4636 100644
--- a/lookandfeel/contents/windowswitcher/WindowSwitcher.qml
+++ b/lookandfeel/contents/windowswitcher/WindowSwitcher.qml
@@ -52,7 +52,7 @@ KWin.Switcher {
property bool canStretchX: false
property bool canStretchY: false
- width: tabBox.screenGeometry.width * 0.15
+ width: tabBox.screenGeometry.width * 0.15 + (__verticalScrollBar.visible ? __verticalScrollBar.width : 0)
height: tabBox.screenGeometry.height
clip: true
focus: true
@@ -155,3 +155,4 @@ KWin.Switcher {
}
}
}
+