MCPcopy Create free account
hub / github.com/WayfireWM/wf-shell / reset_cycle_timeout

Method reset_cycle_timeout

src/background/background.cpp:303–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void WayfireBackground::reset_cycle_timeout()
304{
305 int cycle_timeout = background_cycle_timeout * 1000;
306 change_bg_conn.disconnect();
307 if (images.size())
308 {
309 change_bg_conn = Glib::signal_timeout().connect(sigc::mem_fun(
310 this, &WayfireBackground::change_background), cycle_timeout);
311 }
312}
313
314void WayfireBackground::setup_window()
315{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected