src/java.desktop/unix/classes/sun/awt/X11/XConstants.java
changeset 59190 88ddd6943a06
parent 59186 d5af26ef7b95
equal deleted inserted replaced
59189:b5cdba232fca 59190:88ddd6943a06
   206 
   206 
   207     public static final int[] buttons  = new int [] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24};
   207     public static final int[] buttons  = new int [] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24};
   208 
   208 
   209     // those should probably be wrapped in a method or such
   209     // those should probably be wrapped in a method or such
   210     // as it may be possible to remap them via x11 configuration files
   210     // as it may be possible to remap them via x11 configuration files
   211     public static final int MouseWheelUp = buttons[4];
   211     public static final int MouseWheelUp = buttons[3];
   212     public static final int MouseWheelDown = buttons[5];
   212     public static final int MouseWheelDown = buttons[4];
   213 
   213 
   214     /* Notify modes */
   214     /* Notify modes */
   215 
   215 
   216     public static final int NotifyNormal = 0 ;
   216     public static final int NotifyNormal = 0 ;
   217     public static final int NotifyGrab = 1 ;
   217     public static final int NotifyGrab = 1 ;