ensure taskswitcher is fullscreen

This commit is contained in:
Marco Martin 2020-07-17 11:17:18 +02:00
parent f8df7b3b00
commit 69ae5a1ba4

View file

@ -97,7 +97,7 @@ PlasmaCore.ColorScope {
taskSwitcher.offset = taskSwitcher.offset - (mouse.y - oldMouseY); taskSwitcher.offset = taskSwitcher.offset - (mouse.y - oldMouseY);
oldMouseY = mouse.y; oldMouseY = mouse.y;
if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit && taskSwitcher.tasksCount) { if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit && taskSwitcher.tasksCount) {
taskSwitcher.visible = true; taskSwitcher.showFullScreen();
} }
} }
onReleased: { onReleased: {