Skip to content

Commit

Permalink
Fix PowerControl not starting-up again
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Nov 19, 2022
1 parent 681db92 commit 85c8ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerControl/Helpers/RTSS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static bool IsOSDForeground(out int? processId)
{
processId = (int?)Helpers.TopLevelWindow.GetTopLevelProcessId();
if (processId is null)
return true;
return false;

foreach (var app in OSD.GetAppEntries(AppFlags.MASK))
{
Expand Down

0 comments on commit 85c8ee3

Please sign in to comment.