This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, I committed the following patch to the java-gui-branch, which fixes various bugs related to MouseEvents. In particular, it adds special case handling in LightweightDispatcher, so that MouseEvents intended for lightweight children are dispatched to the proper target. Such details as dispatching MOUSE_RELEASED event to the same component to which the corresponding MOUSE_PRESSED event was dispatched are already taken care of for heavyweights, but they need to be emulated for lightweights in the LightweightDispatcher. -David Jee 2004-03-05 David Jee <djee@redhat.com> * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Action events are generated upon MOUSE_RELEASED. * java/awt/Container.java (acquireComponentForMouseEvent): Fixed. (handleEvent): Fixed. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (state_to_awt_mods_with_button_states): New method. (pre_event_handler): Fixed mouse event generation.
Attachment:
LightweightMouseEvents.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |