Review request for 7124430: [macosx] LWCToolkit.grab() and LWCToolkit.ungrab() events are not implemented yet (original) (raw)

Anthony Petrov anthony.petrov at oracle.com
Fri Jan 13 05:58:06 PST 2012


Hi Anton,

You want to override NSWindow -sendEvent: in order to catch clicks on the titlebar of windows on the Mac.

-- best regards, Anthony

On 1/13/2012 6:36 PM, Anton V. Tarasov wrote:

Hello,

Please review a fix for 7124430. webrev: http://cr.openjdk.java.net/~ant/7124430/webrev.1/ UngrabEvent dispatching is implemented according to the cases mentioned in the UngrabEvent class description, except for the case of clicking in an owner frame's title. The latter, as I found, can't be implemented on Mac OS X platform. Along with the implementation, a regression test is proposed. Thanks, Anton.



More information about the macosx-port-dev mailing list