mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
Infoviewer: Fix key handling for PiP
Origin commit data
------------------
Commit: 7e2fd24967
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-19 (Fri, 19 Apr 2013)
Origin message was:
------------------
* Infoviewer: Fix key handling for PiP
This commit is contained in:
committed by
[CST] Focus
parent
d4e9ea00b9
commit
44bfdee60d
@@ -833,6 +833,14 @@ void CInfoViewer::loop(bool show_dot)
|
||||
while (!(res & (messages_return::cancel_info | messages_return::cancel_all))) {
|
||||
g_RCInput->getMsgAbsoluteTimeout (&msg, &data, &timeoutEnd);
|
||||
|
||||
#ifdef ENABLE_PIP
|
||||
if ((msg == (neutrino_msg_t) g_settings.key_pip_close) ||
|
||||
(msg == (neutrino_msg_t) g_settings.key_pip_setup) ||
|
||||
(msg == (neutrino_msg_t) g_settings.key_pip_swap)) {
|
||||
g_RCInput->postMsg(msg, data);
|
||||
res = messages_return::cancel_info;
|
||||
} else
|
||||
#endif
|
||||
if (msg == (neutrino_msg_t) g_settings.key_screenshot) {
|
||||
res = CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||
|
||||
|
Reference in New Issue
Block a user