Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions qt6/src/qml/TitleBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Item {
}
TapHandler {
acceptedButtons: Qt.RightButton | Qt.LeftButton
acceptedDevices: PointerDevice.AllDevices & ~PointerDevice.TouchScreen
onDoubleTapped: function (eventPoint, button) {
if (button === Qt.LeftButton) {
control.toggleWindowState()
Expand All @@ -70,6 +71,15 @@ Item {
}
}
}
TapHandler {
acceptedDevices: PointerDevice.TouchScreen
onDoubleTapped: function () {
control.toggleWindowState()
}
onLongPressed: function () {
__dwindow.popupSystemWindowMenu()
}
}

Loader {
id: background
Expand Down