summaryrefslogtreecommitdiff
path: root/src/clock.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-10-25 20:44:07 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2009-10-25 20:44:07 +0100
commitdd04406ee551e9c7557c7791d0d59a9cc0ffd434 (patch)
treebe4e99e2e7e40846680b5099a90f5ed0885d67df /src/clock.cpp
parent08f4459b5461ecefad4a26910a1dd155c32181ca (diff)
poll both stdin and mpd using one select()
this allows for immediate reading mpd events
Diffstat (limited to 'src/clock.cpp')
-rw-r--r--src/clock.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/clock.cpp b/src/clock.cpp
index cf620a43..528ebdd0 100644
--- a/src/clock.cpp
+++ b/src/clock.cpp
@@ -52,7 +52,6 @@ void Clock::Init()
Width = Config.clock_display_seconds ? 60 : 40;
w = new Window((COLS-Width)/2, (MainHeight-Height)/2+MainStartY, Width, Height-1, "", Config.main_color, Border(Config.main_color));
- w->SetTimeout(ncmpcpp_window_timeout);
isInitialized = 1;
}