Code

main: enable the update timer on demand
authorMax Kellermann <max@duempel.org>
Sat, 3 Oct 2009 23:10:29 +0000 (01:10 +0200)
committerMax Kellermann <max@duempel.org>
Sat, 3 Oct 2009 23:10:29 +0000 (01:10 +0200)
commita0fdb070bbe26e1b192478f1e82e5f4312bd9af9
treea089286b6b3e355709c428a25717acfccbc3bb2d
parent864295fc334f8887f2c17b484bca126f81b7f901
main: enable the update timer on demand

We don't need the timer when ncmpc is not connected and the clock is
disabled.
src/main.c