Skip to content

Commit

Permalink
idle: Fix stuck black screen after timeout with cube disabled (#2092)
Browse files Browse the repository at this point in the history
Fixes #2085.
  • Loading branch information
soreau authored Jan 10, 2024
1 parent c78be17 commit 3dd1671
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/single_plugins/idle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ class wayfire_idle_plugin : public wf::per_output_plugin_instance_t
return;
}

if (!timeout_screensaver.is_connected() && output_inhibited)
{
uninhibit_output();
return;
}

if (!timeout_screensaver.is_connected() && (state == CUBE_SCREENSAVER_RUNNING))
{
stop_screensaver();
Expand Down

0 comments on commit 3dd1671

Please sign in to comment.