[MPlayer-dev-eng] [PATCH] Fix for vo macosx play window not actived bug on leopard

Ulion ulion2002 at gmail.com
Sat Nov 3 13:36:06 CET 2007


Hello,

On Leopard (Mac OS 10.5), vo macosx fail to active the play window
after started, on Mac OS 10.4 there's no problem. After test, I found
the fail reason is the call makeKeyAndOrderFront failed, probably
because on Leopard window can only be actived after NSApp actived, and
NSApp actived which need some event stuff work. Since we handle NSApp
events in check_events call, if we call makeKeyAndOrderFront once
after NSApp actived, will fix the bug. Here's the patch.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_macosx_active_leopard_fix.diff
Type: text/x-diff
Size: 993 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071103/e7008947/attachment.diff>


More information about the MPlayer-dev-eng mailing list