aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/awt/xlib/XEventLoop.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/awt/xlib/XEventLoop.java')
-rw-r--r--libjava/gnu/awt/xlib/XEventLoop.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/gnu/awt/xlib/XEventLoop.java b/libjava/gnu/awt/xlib/XEventLoop.java
index 5f5026b..6687818 100644
--- a/libjava/gnu/awt/xlib/XEventLoop.java
+++ b/libjava/gnu/awt/xlib/XEventLoop.java
@@ -197,13 +197,13 @@ public class XEventLoop implements Runnable
switch (buttonEvt.button)
{
case 1:
- modifiers = InputEvent.BUTTON1_MASK;
+ modifiers = InputEvent.BUTTON1_DOWN_MASK;
break;
case 2:
- modifiers = InputEvent.BUTTON2_MASK;
+ modifiers = InputEvent.BUTTON2_DOWN_MASK;
break;
case 3:
- modifiers = InputEvent.BUTTON2_MASK;
+ modifiers = InputEvent.BUTTON2_DOWN_MASK;
break;
}