diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-11-25 15:27:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-11-25 15:27:10 +0100 |
commit | bd411a6620f896b82494338e6386dd0324f63353 (patch) | |
tree | 1dbfe18e0d5ec18e6b4816562e96458f0510e09f /vdr.c | |
parent | ade33990f5b05ecf1446c93eb6bc5d93bbb3d8b7 (diff) | |
download | vdr-bd411a6620f896b82494338e6386dd0324f63353.tar.gz vdr-bd411a6620f896b82494338e6386dd0324f63353.tar.bz2 |
The kInfo key is now propagated to any open menu
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.302 2007/11/03 14:46:29 kls Exp $ + * $Id: vdr.c 1.303 2007/11/25 15:11:33 kls Exp $ */ #include <getopt.h> @@ -914,9 +914,11 @@ int main(int argc, char *argv[]) break; // Info: case kInfo: { - bool WasInfoMenu = IsInfoMenu; - DELETE_MENU; - if (!WasInfoMenu) { + if (IsInfoMenu) { + key = kNone; // nobody else needs to see this key + DELETE_MENU; + } + else if (!Menu) { IsInfoMenu = true; if (cControl::Control()) { cControl::Control()->Hide(); @@ -930,6 +932,7 @@ int main(int argc, char *argv[]) cRemote::Put(kOk, true); cRemote::Put(kSchedule, true); } + key = kNone; // nobody else needs to see this key } } break; |