question: private static void updateGrabbedCursor ( Cursor cur ) { XBaseWindow target = XAwtState . getGrabWindow ( ) ; if ( target instanceof XWindowPeer ) { XWindowPeer grabber = ( XWindowPeer ) target ; grabber . pSetCursor ( cur ) ; } }
target:  Updates cursor on the grabber if it is window peer (i.e. current grab is for Swing, not for AWT.