mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
audioplayer.cpp: ignore first keypress when screensaver is on
just quit the screensaver and return to loop
Origin commit data
------------------
Branch: ni/coolstream
Commit: 95b51f6993
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-02-19 (Tue, 19 Feb 2013)
Origin message was:
------------------
- audioplayer.cpp: ignore first keypress when screensaver is on
just quit the screensaver and return to loop
------------------
This commit was generated by Migit
This commit is contained in:
@@ -432,6 +432,11 @@ int CAudioPlayerGui::show()
|
|||||||
if (m_screensaver)
|
if (m_screensaver)
|
||||||
{
|
{
|
||||||
screensaver(false);
|
screensaver(false);
|
||||||
|
if (msg < CRCInput::RC_MaxRC) {
|
||||||
|
// ignore first keypress - just quit the screensaver
|
||||||
|
g_RCInput->clearRCMsg();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user