Class X11Cursor

  • Direct Known Subclasses:
    X11WarpingCursor

    public class X11Cursor
    extends java.lang.Object
    Provides a native cursor for use with X11. Since X11 doesn't provide any programmatic way to dynamically hide/show the cursor, we use a workaround of creating a 1x1 transparent pixmap cursor which we activate whenever we want to hide the cursor.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean isVisible
      Is the cursor currently visible?
      protected long xdisplay  
      protected long xwindow  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • xdisplay

        protected long xdisplay
      • xwindow

        protected long xwindow
      • isVisible

        protected boolean isVisible
        Is the cursor currently visible?