[Bug 56070] Can't click button after setting it sensitive.

gtk+ (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 24 07:00:14 CET 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=56070

  gtk+ | gtk | Ver: 2.6.x


Matthias Clasen changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80856|none                        |reviewed
               Flag|                            |




------- Comment #79 from Matthias Clasen  2007-01-24 05:58 UTC -------
Impressive patch. It will certainly be fun to test this. 

It has quite a bit of overhead though, since you store the pointer window
per-widget. Since your patch seems to satisfy the following conditions:

1) at most one widget at a time can have the HAS_POINTER flag set

2) you only ever look at the pointer window of a widget if it has HAS_POINTER
set

it should be possible to take Owens approach of storing a global pointer window
per display instead. Right ?

One detail I wonder about is if it can happen in
_gtk_widget_synthesize_crossing
that from != to but from_window == to_window (thinking of no-window widgets
sharing the window with their parent), in which case

+  else if (from_window == to_window)
+    ;

may cause missed events. But maybe that case can never happen...


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



More information about the Pkg-gnome-maintainers mailing list