jdk/src/solaris/native/sun/awt/awt_MToolkit.c
changeset 2810 fa49c6a06baf
parent 2802 d05a9dcc8296
child 5506 202f599c92aa
equal deleted inserted replaced
2809:b373581f6507 2810:fa49c6a06baf
  3166     return awt_multiclick_time;
  3166     return awt_multiclick_time;
  3167 }
  3167 }
  3168 
  3168 
  3169 /*
  3169 /*
  3170  * Class:     sun_awt_motif_MToolkit
  3170  * Class:     sun_awt_motif_MToolkit
  3171  * Method:    getNumMouseButtons
       
  3172  * Signature: ()I
       
  3173  */
       
  3174 JNIEXPORT jint JNICALL Java_sun_awt_motif_MToolkit_getNumMouseButtons
       
  3175   (JNIEnv *env, jobject this)
       
  3176 {
       
  3177     jint res = 0;
       
  3178     AWT_LOCK();
       
  3179     res = XGetPointerMapping(awt_display, NULL, 0);
       
  3180     AWT_UNLOCK();
       
  3181     return res;
       
  3182 }
       
  3183 
       
  3184 /*
       
  3185  * Class:     sun_awt_motif_MToolkit
       
  3186  * Method:    loadXSettings
  3171  * Method:    loadXSettings
  3187  * Signature: ()V
  3172  * Signature: ()V
  3188  */
  3173  */
  3189 JNIEXPORT void JNICALL
  3174 JNIEXPORT void JNICALL
  3190 Java_sun_awt_motif_MToolkit_loadXSettings(JNIEnv *env, jobject this)
  3175 Java_sun_awt_motif_MToolkit_loadXSettings(JNIEnv *env, jobject this)