mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-30 17:42:06 -04:00
loginctl: simplify event handling
This commit is contained in:
@@ -247,16 +247,16 @@ Item {
|
||||
repeat: false
|
||||
onTriggered: {
|
||||
root.recreateOsdSurfaces();
|
||||
root.pendingOsdResumeReloads--;
|
||||
|
||||
if (root.pendingOsdResumeReloads > 1) {
|
||||
root.pendingOsdResumeReloads--;
|
||||
interval = 1400;
|
||||
restart();
|
||||
if (root.pendingOsdResumeReloads <= 0) {
|
||||
root.pendingOsdResumeReloads = 0;
|
||||
interval = 400;
|
||||
return;
|
||||
}
|
||||
|
||||
root.pendingOsdResumeReloads = 0;
|
||||
interval = 400;
|
||||
interval = 1400;
|
||||
restart();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user