diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-04 15:58:52 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-04 15:58:52 +0000 |
commit | ad18c2792b855254013b7d7fcb69768ecddc6508 (patch) | |
tree | a701a66407da575aee52605bd1995b84bd89f280 /Gui/mplayer/sw.c | |
parent | 31469b3b69e05851b6ed8e81dfb548028c48d885 (diff) | |
download | mpv-ad18c2792b855254013b7d7fcb69768ecddc6508.tar.bz2 mpv-ad18c2792b855254013b7d7fcb69768ecddc6508.tar.xz |
Fix popup menu problems: GTK cannot get a grab while the button is down,
so show it on button release instead of button press.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17088 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/sw.c')
-rw-r--r-- | Gui/mplayer/sw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/mplayer/sw.c b/Gui/mplayer/sw.c index 55693ec345..ed14e6455f 100644 --- a/Gui/mplayer/sw.c +++ b/Gui/mplayer/sw.c @@ -47,7 +47,7 @@ void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY ) switch( Button ) { - case wsPRMouseButton: + case wsRRMouseButton: gtkShow( evShowPopUpMenu,NULL ); break; case wsPMMouseButton: |