[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gtk patch version 3, part 1

From: Jan D.
Subject: Re: Gtk patch version 3, part 1
Date: Tue, 31 Dec 2002 15:49:47 +0100 (CET)

> Hello,
> I've compiled and ran version 3 of your GTK+ patch on a PPC GNU/Linux system 
> with GTK+ 2.0.9.
> There is one behavior that I find annoying and confusing. If I click on a 
> menu, then move the mouse pointer to another menu, sometimes the menu name 
> that I have moved to will become "highlighted", but the menu itself does not 
> pop down. If I move the mouse again, hit a key, or click and hold a mouse 
> button, the menu then does pop down. 

Funny I didn't see that, now that you mention it, it is obvious :-)
Anyway, this has to do with the fact that Emacs doesn't see GTK timers
so we have to make some special code to handle GTK timeouts, Xt have the
same problem.

As a comment to the signal handler discussion, these problems
would go away if Emacs could use a "normal" event loop (i.e. Xt/GTK/whatever)
instead of handling X events in a signal handler.  This is paritulary true
for GTK which delays some things untill it gets back to the event loop.
These never result in X events.  There is special handling for those cases
also in Emacs/GTK (gdk_window_process_all_updates for example).

Anyway, I've attached a fixed gtkutil.c.


        Jan D.

Attachment: gtkutil.c
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]