From 9910eae2ba950e335085a88b67930f171ea4ba32 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Tue, 19 Sep 2006 22:44:19 +0000 Subject: [PATCH] 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 --- mplayer.c | 1 + 1 file changed, 1 insertion(+) 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;