fix scrolling with fancy_scrolling disabled

timeout was too low to keep ncmpcpp in while loop.
This commit is contained in:
Andrzej Rybczak
2009-09-04 08:35:18 +02:00
parent 0d2c769faa
commit e2003aee3e

View File

@@ -120,7 +120,7 @@ template <typename WindowType> void Screen<WindowType>::Scroll(Where where, cons
if (!Config.fancy_scrolling && key)
{
int in = key[0];
w->SetTimeout(ncmpcpp_window_timeout/10);
w->SetTimeout(50);
while (Keypressed(in, key))
{
TraceMpdStatus();