cec: reset the active view after a routing change. issue #1
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 11 Oct 2011 23:02:37 +0000 (01:02 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 11 Oct 2011 23:02:37 +0000 (01:02 +0200)
src/lib/CECProcessor.cpp

index bf559065d19941190b74df568270387e299924e9..ece2f1c253f5f06cfd218c25ef438309d5ff04bd 100644 (file)
@@ -543,6 +543,9 @@ void CCECProcessor::ParseCommand(cec_command &command)
     case CEC_OPCODE_USER_CONTROL_RELEASE:
       m_controller->AddKey();
       break;
+    case CEC_OPCODE_ROUTING_CHANGE:
+      m_controller->SetActiveView();
+      break;
     default:
       m_controller->AddCommand(command);
       break;