cocoa_common: fix double click handling
commit98d399e2f331a5f85d83fc68611eb2713f24c4ee
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Fri, 3 Feb 2012 22:50:44 +0000 (3 23:50 +0100)
committerUoti Urpala <uau@mplayer2.org>
Sun, 25 Mar 2012 19:30:37 +0000 (25 22:30 +0300)
treecc41e62852fe758e54c70df8be221ff6fe047fdb
parent09beba6e9ec2c59befdfb3b4df9d4683303de880
cocoa_common: fix double click handling

The Cocoa framework generates only a NS*MouseDown event when handling
the second click of a double click (no NS*MouseUp). If that's the case
put mouse up key in mplayer2's fifo when dealing with the MouseDown
Cocoa event.
libvo/cocoa_common.m