Displaying 2 results from an estimated 2 matches for "show_cursor".
2004 Mar 21
0
Working around visible cursor problems
...n the middle of
the screen. At some point, perhaps someone will fix this, but for now,
it can just be worked around. I decided to hide the X11 cursor before
starting wine, and then restoring it after leaving X11. Hopefully this
will save other folks a couple of minutes.
Three files:
The first is show_cursor.sh:
#!/bin/bash
xsetroot -cursor_name left_ptr
The second is hide_cursor.sh:
#!/bin/bash
xsetroot -cursor ~/.private/cursors/empty.xbm ~/.private/cursors/empty.xbm
The third is ~/.private/cursors/empty.xbm:
#define empty_width 1
#define empty_height 1
#define empty_x_hot 0
#define empty_y_hot 0
s...
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...uveau_bo_unmap(bo);
+}
+
+static void
drmmode_load_cursor_argb (xf86CrtcPtr crtc, CARD32 *image)
{
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
@@ -505,14 +530,12 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = {
.set_cursor_position = drmmode_set_cursor_position,
.show_cursor = drmmode_show_cursor,
.hide_cursor = drmmode_hide_cursor,
+ .load_cursor_image = drmmode_load_cursor_image,
.load_cursor_argb = drmmode_load_cursor_argb,
.shadow_create = drmmode_crtc_shadow_create,
.shadow_allocate = drmmode_crtc_shadow_allocate,
.shadow_destroy = drmmode_crtc_shadow_de...