< prev index next >

src/java.desktop/unix/native/libawt_xawt/xawt/XWindow.c

Print this page




  37 #include <X11/Xatom.h>
  38 #include <ctype.h>
  39 
  40 #include <jvm.h>
  41 #include <jni.h>
  42 #include <jlong.h>
  43 #include <jni_util.h>
  44 
  45 #include "sun_awt_X11_XWindow.h"
  46 
  47 #include "awt_p.h"
  48 #include "awt_GraphicsEnv.h"
  49 #include "awt_AWTEvent.h"
  50 
  51 #define XK_KATAKANA
  52 #include <X11/keysym.h>     /* standard X keysyms */
  53 #include <X11/DECkeysym.h>  /* DEC vendor-specific */
  54 #include <X11/Sunkeysym.h>  /* Sun vendor-specific */
  55 #include <X11/ap_keysym.h>  /* Apollo (HP) vendor-specific */
  56 /*
  57  * #include <X11/HPkeysym.h>    HP vendor-specific
  58  * I checked HPkeysym.h into the workspace because although
  59  * I think it will ship with X11R6.4.2 (and later) on Linux,
  60  * it doesn't seem to be in Solaris 9 Update 2.
  61  *
  62  * This is done not only for the hp keysyms, but also to
  63  * give us the osf keysyms that are also defined in HPkeysym.h.
  64  * However, HPkeysym.h is missing a couple of osf keysyms,
  65  * so I have #defined them below.
  66  */
  67 #include "HPkeysym.h"   /* HP vendor-specific */
  68 
  69 #include "java_awt_event_KeyEvent.h"
  70 #include "java_awt_event_InputEvent.h"
  71 #include "java_awt_event_MouseEvent.h"
  72 #include "java_awt_event_MouseWheelEvent.h"
  73 #include "java_awt_AWTEvent.h"
  74 
  75 /*
  76  * Two osf keys are not defined in standard keysym.h,
  77  * /Xm/VirtKeys.h, or HPkeysym.h, so I added them below.
  78  * I found them in /usr/openwin/lib/X11/XKeysymDB
  79  */
  80 #ifndef osfXK_Prior
  81 #define osfXK_Prior 0x1004FF55
  82 #endif
  83 #ifndef osfXK_Next
  84 #define osfXK_Next 0x1004FF56
  85 #endif
  86 
  87 jfieldID windowID;




  37 #include <X11/Xatom.h>
  38 #include <ctype.h>
  39 
  40 #include <jvm.h>
  41 #include <jni.h>
  42 #include <jlong.h>
  43 #include <jni_util.h>
  44 
  45 #include "sun_awt_X11_XWindow.h"
  46 
  47 #include "awt_p.h"
  48 #include "awt_GraphicsEnv.h"
  49 #include "awt_AWTEvent.h"
  50 
  51 #define XK_KATAKANA
  52 #include <X11/keysym.h>     /* standard X keysyms */
  53 #include <X11/DECkeysym.h>  /* DEC vendor-specific */
  54 #include <X11/Sunkeysym.h>  /* Sun vendor-specific */
  55 #include <X11/ap_keysym.h>  /* Apollo (HP) vendor-specific */
  56 /*
  57  * HPKeysym.h is used not only for the hp keysyms, but also to





  58  * give us the osf keysyms that are also defined in HPkeysym.h.
  59  * However, HPkeysym.h is missing a couple of osf keysyms,
  60  * so I have #defined them below.
  61  */
  62 #include <X11/HPkeysym.h>   /* HP vendor-specific */
  63 
  64 #include "java_awt_event_KeyEvent.h"
  65 #include "java_awt_event_InputEvent.h"
  66 #include "java_awt_event_MouseEvent.h"
  67 #include "java_awt_event_MouseWheelEvent.h"
  68 #include "java_awt_AWTEvent.h"
  69 
  70 /*
  71  * Two osf keys are not defined in standard keysym.h,
  72  * /Xm/VirtKeys.h, or HPkeysym.h, so I added them below.
  73  * I found them in /usr/openwin/lib/X11/XKeysymDB
  74  */
  75 #ifndef osfXK_Prior
  76 #define osfXK_Prior 0x1004FF55
  77 #endif
  78 #ifndef osfXK_Next
  79 #define osfXK_Next 0x1004FF56
  80 #endif
  81 
  82 jfieldID windowID;


< prev index next >