From: Lars Op den Kamp Date: Tue, 11 Oct 2011 23:02:37 +0000 (+0200) Subject: cec: reset the active view after a routing change. issue #1 X-Git-Tag: upstream/2.2.0~1^2~250 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3ab277988a47c251d5ec5f630e5a4e4bfe0ae5dc;p=deb_libcec.git cec: reset the active view after a routing change. issue #1 --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index bf55906..ece2f1c 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -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;