[MPlayer-dev-eng] GTK2
Alexander Strasser
eclipse7 at gmx.net
Sun Aug 14 14:34:32 CEST 2005
Hi,
Onur Kucuk wrote:
> > > + // Ugly hack, but we don't wanna loose events
> > > + while( !GTK_WIDGET_VISIBLE( PopUpMenu ) ) {
> >
> > Hmm... would be nice to know what exactly the problem is here. What
> > events will be lost without the loop? And what is the effect of that?
>
> Bringing up the popup menu without the while loop is random. The mouse
> button event is usually vaporizing, not sure why. Using
> gtk_get_current_event_time() was not enough to fix it. Actually I am
> not a fan of the current code but it needs deeper digging :)
Have seen this popupmenu problem with other patches, tho i don't
know what it is exactly and why it worked for GTK1.
Actually there should also be someone else working on another GTK2
patch. I can try to contact him and ask if he found the source of the
popupmenu problem.
Alex (beastd)
More information about the MPlayer-dev-eng
mailing list