1.3.39, "Menu button closes" true: No menu from replay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Klaus,

With 1.3.39 and "Menu button closes" set to true, the main menu doesn't
open if any replay control is active. The attached patch fixes this by
resetting a !IsOpen cControl to WasOpen=false.

Cheers,

Udo

-------------- next part --------------
--- vdr-1.3.39-old/vdr.c	2006-01-15 18:33:54.000000000 +0100
+++ vdr-1.3.39/vdr.c	2006-01-15 18:38:28.000000000 +0100
@@ -795,8 +795,12 @@
                bool WasMenu = Interact && Interact->IsMenu();
                if (Menu)
                   DELETE_MENU;
-               else if (cControl::Control() && cOsd::IsOpen())
-                  cControl::Control()->Hide();
+               else if (cControl::Control()) {
+                  if (cOsd::IsOpen())
+                     cControl::Control()->Hide();
+                  else
+                     WasOpen = false;
+                  }
                if (!WasOpen || !WasMenu && !Setup.MenuButtonCloses)
                   Menu = new cMenuMain;
                }

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux