Class X11Cursor

java.lang.Object
com.sun.glass.ui.monocle.X11Cursor
Direct Known Subclasses:
X11WarpingCursor

public class X11Cursor extends 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 Details

    • xdisplay

      protected long xdisplay
    • xwindow

      protected long xwindow
    • isVisible

      protected boolean isVisible
      Is the cursor currently visible?