From: Marten Richter Date: Sat, 23 Nov 2013 17:57:13 +0000 (+0100) Subject: Process poweron and poweroff also in standby X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=8a945a8f76385fd78dc0b75a79baa31a49f7b927;p=vompclient-marten.git Process poweron and poweroff also in standby --- diff --git a/command.cc b/command.cc index ada68c6..8288d2f 100644 --- a/command.cc +++ b/command.cc @@ -464,7 +464,8 @@ void Command::processMessage(Message* m) void Command::handleCommand(int button) { - if (isStandby && (button != Remote::POWER)) return; + if (isStandby && (button != Remote::POWER) + && (button != Remote::POWERON) && (button != Remote::POWEROFF)) return; if (!connLost && boxstack->handleCommand(button)) return; // don't send to boxstack if connLost // command was not handled