summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdpinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpinput.c')
-rw-r--r--xorg/X11R7.6/rdp/rdpinput.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg/X11R7.6/rdp/rdpinput.c b/xorg/X11R7.6/rdp/rdpinput.c
index f221ae34..cbb4962a 100644
--- a/xorg/X11R7.6/rdp/rdpinput.c
+++ b/xorg/X11R7.6/rdp/rdpinput.c
@@ -706,6 +706,12 @@ rdpSpriteSetCursor(DeviceIntPtr pDev, ScreenPtr pScr, CursorPtr pCurs,
if (pCurs == 0)
{
+ // HACK to support blank cursors
+ memset(cur_data, 0, sizeof(cur_data));
+ memset(cur_mask, 0xffffffff, sizeof(cur_mask));
+ rdpup_begin_update();
+ rdpup_set_cursor(16, 16, cur_data, cur_mask);
+ rdpup_end_update();
return;
}