1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

Fix ProcessList context menu visibility in DankPopout (#857)

This commit is contained in:
xdenotte
2025-11-30 17:21:15 +01:00
committed by GitHub
parent b2cf20f3d8
commit cbd1fd908c
2 changed files with 23 additions and 17 deletions

View File

@@ -37,7 +37,12 @@ DankPopout {
screen: triggerScreen
shouldBeVisible: false
onBackgroundClicked: close()
onBackgroundClicked: {
if (processContextMenu.visible) {
processContextMenu.close();
}
close();
}
Ref {
service: DgopService
@@ -63,6 +68,7 @@ DankPopout {
if (processListPopout.shouldBeVisible) {
forceActiveFocus();
}
processContextMenu.parent = processListContent;
}
Keys.onPressed: (event) => {
if (event.key === Qt.Key_Escape) {