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
4 changes: 4 additions & 0 deletions src/core/idle_manager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ namespace Singularity {

public void rearm() {
if (!available) return;
// Dropping the watches below also drops the resume events that would
// undo a dim or blank in progress, so put the screens back first.
undim();
if (blanked) blank_screens(false);
int[] all = { DIM, BLANK, LOCK, SUSPEND, PROBE };
foreach (int id in all) IdleNotify.unwatch(id);
fired.clear();
Expand Down
Loading