Commit 9a05bff2 authored by Claude Brisson's avatar Claude Brisson

Show window when going to idle

parent eec55a32
......@@ -136,8 +136,12 @@ bool TimeSlice::on_timer()
if (idleSeconds > IDLE)
{
idle->clicked();
show();
Glib::RefPtr<Gdk::Window> window = get_window();
if (window) window->beep();
if (window)
{
window->beep();
}
}
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment