aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-19 22:44:19 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-19 22:44:19 +0000
commit9910eae2ba950e335085a88b67930f171ea4ba32 (patch)
treecbd0a558325a5d0e80fc36e0a0998348393e465b
parenteadc766b62f7b868facbe15f2c1f87ea7f8b0ca1 (diff)
show in the osd the number of the button selected by the mouse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19916 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 5dd31c2dd4..311e6ae43b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -5162,6 +5162,7 @@ if(step_sec>0) {
pointer_x = (int) (dx * (double) sh_video->disp_w);
pointer_y = (int) (dy * (double) sh_video->disp_h);
mp_dvdnav_update_mouse_pos(stream, pointer_x, pointer_y, &button);
+ if(button>0) set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, "Selected button number %d", button);
}
#endif
break;