jdk/src/solaris/classes/sun/awt/X11/XComponentPeer.java
changeset 8133 c7e4a02e928e
parent 5506 202f599c92aa
child 9035 1255eb81cc2f
equal deleted inserted replaced
8132:8686fda1829a 8133:c7e4a02e928e
   723 
   723 
   724     public void updateCursorImmediately() {
   724     public void updateCursorImmediately() {
   725         XGlobalCursorManager.getCursorManager().updateCursorImmediately();
   725         XGlobalCursorManager.getCursorManager().updateCursorImmediately();
   726     }
   726     }
   727 
   727 
   728     public void pSetCursor(Cursor cursor) {
   728     public final void pSetCursor(Cursor cursor) {
       
   729         this.pSetCursor(cursor, true);
       
   730     }
       
   731 
       
   732     /*
       
   733      * The method changes the cursor.
       
   734      * @param cursor - a new cursor to change to.
       
   735      * @param ignoreSubComponents - if {@code true} is passed then
       
   736      *                              the new cursor will be installed on window.
       
   737      *                              if {@code false} is passed then
       
   738      *                              subsequent components will try to handle
       
   739      *                              this request and install their cursor.
       
   740      */
       
   741     //ignoreSubComponents not used here
       
   742     public void pSetCursor(Cursor cursor, boolean ignoreSubComponents) {
   729         XToolkit.awtLock();
   743         XToolkit.awtLock();
   730         try {
   744         try {
   731             long xcursor = XGlobalCursorManager.getCursor(cursor);
   745             long xcursor = XGlobalCursorManager.getCursor(cursor);
   732 
   746 
   733             XSetWindowAttributes xwa = new XSetWindowAttributes();
   747             XSetWindowAttributes xwa = new XSetWindowAttributes();