plugins/overview: Search bar can be clicked without closing effect
This commit is contained in:
parent
765cd82613
commit
c11eeabc86
1 changed files with 7 additions and 7 deletions
|
@ -574,6 +574,13 @@ FocusScope {
|
||||||
item.client.desktops = [mainBackground.desktop];
|
item.client.desktops = [mainBackground.desktop];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
TapHandler {
|
||||||
|
acceptedButtons: Qt.LeftButton
|
||||||
|
onTapped: {
|
||||||
|
KWinComponents.Workspace.currentDesktop = mainBackground.desktop;
|
||||||
|
container.effect.deactivate();
|
||||||
|
}
|
||||||
|
}
|
||||||
DragHandler {
|
DragHandler {
|
||||||
id: dragHandler
|
id: dragHandler
|
||||||
target: heap
|
target: heap
|
||||||
|
@ -682,13 +689,6 @@ FocusScope {
|
||||||
|
|
||||||
onActivated: effect.deactivate()
|
onActivated: effect.deactivate()
|
||||||
}
|
}
|
||||||
TapHandler {
|
|
||||||
acceptedButtons: Qt.LeftButton
|
|
||||||
onTapped: {
|
|
||||||
KWinComponents.Workspace.currentDesktop = mainBackground.desktop;
|
|
||||||
container.effect.deactivate();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
onCurrentChanged: {
|
onCurrentChanged: {
|
||||||
if (current) {
|
if (current) {
|
||||||
|
|
Loading…
Reference in a new issue