summaryrefslogtreecommitdiff
path: root/xine_frontend_lirc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_frontend_lirc.c')
-rw-r--r--xine_frontend_lirc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xine_frontend_lirc.c b/xine_frontend_lirc.c
index 2b2c6427..e23584d3 100644
--- a/xine_frontend_lirc.c
+++ b/xine_frontend_lirc.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_lirc.c,v 1.23 2009-12-28 12:06:00 phintuka Exp $
+ * $Id: xine_frontend_lirc.c,v 1.24 2010-01-03 09:54:39 phintuka Exp $
*
*/
/*
@@ -212,6 +212,10 @@ static void *lirc_receiver_thread(void *fe_gen)
fe->send_event(fe, "QUIT");
break;
}
+ if (!strcmp(KeyName, "PowerOff")) {
+ fe->send_event(fe, "POWER_OFF");
+ break;
+ }
if (!strcmp(KeyName, "Fullscreen")) {
if (!repeat)
fe->send_event(fe, "TOGGLE_FULLSCREEN");