mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 04:14:06 +08:00
re PR awt/19842 (MouseEvent ignores Button2 and Button3)
2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/19842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks. From-SVN: r95382
This commit is contained in:
parent
fdc9b3a02b
commit
cb635293c7
@ -1,3 +1,9 @@
|
||||
2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
|
||||
|
||||
PR libgcj/19842
|
||||
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
|
||||
(button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
|
||||
|
||||
2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
|
||||
|
||||
Merge serialization from GNU Classpath.
|
||||
|
@ -58,11 +58,11 @@ button_to_awt_mods (int button)
|
||||
switch (button)
|
||||
{
|
||||
case 1:
|
||||
return AWT_BUTTON1_DOWN_MASK;
|
||||
return AWT_BUTTON1_MASK;
|
||||
case 2:
|
||||
return AWT_BUTTON2_DOWN_MASK;
|
||||
return AWT_BUTTON2_MASK;
|
||||
case 3:
|
||||
return AWT_BUTTON3_DOWN_MASK;
|
||||
return AWT_BUTTON3_MASK;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user