aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-09-18 23:13:24 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-07 00:09:32 (GMT)
commit9531b554d574f910221044ca358af3acc726146c (patch)
tree1635d261a073332a0b79ff8dbb10be9fb8860022
parent9be77ee91b8e4713fa10385ce19fb62f42f2b60b (diff)
[media] Change default right mouse button bind to leave menu when in menu
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--docs/html/default.tvtime.xml2
-rw-r--r--src/tvtimeconf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/default.tvtime.xml b/docs/html/default.tvtime.xml
index bc71d10..e5fe421 100644
--- a/docs/html/default.tvtime.xml
+++ b/docs/html/default.tvtime.xml
@@ -513,12 +513,12 @@
<keyboard key="q"/>
<keyboard key="F1"/>
<keyboard key="Tab"/>
+ <mouse button="3"/>
</bind>
<bind command="menu_enter">
<keyboard key="enter"/>
<mouse button="1"/>
- <mouse button="3"/>
</bind>
<!--
diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c
index 375686f..9cffbe1 100644
--- a/src/tvtimeconf.c
+++ b/src/tvtimeconf.c
@@ -869,7 +869,7 @@ config_t *config_new( void )
ct->keymapmenu[ 'q' ] = TVTIME_MENU_EXIT;
ct->keymapmenu[ I_ESCAPE ] = TVTIME_MENU_EXIT;
ct->buttonmapmenu[ 1 ] = TVTIME_MENU_ENTER;
- ct->buttonmapmenu[ 3 ] = TVTIME_MENU_ENTER;
+ ct->buttonmapmenu[ 3 ] = TVTIME_MENU_EXIT;
ct->buttonmapmenu[ 4 ] = TVTIME_MENU_UP;
ct->buttonmapmenu[ 5 ] = TVTIME_MENU_DOWN;

Privacy Policy