egl-headless: cursor_dmabuf: handle NULL cursor
commitb09169282b3976075d434ae1cfd12de76ccbdcfd
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Feb 2018 11:04:32 +0000 (20 12:04 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 22 Feb 2018 09:35:05 +0000 (22 10:35 +0100)
treef79a7c4a23e789a0eea45bd8b804c3a0b81a8f62
parent6e1f2cb56047980dba8c4199b00968914b514c28
egl-headless: cursor_dmabuf: handle NULL cursor

The cursor dmabuf can be NULL, in case no cursor defined by the guest.
Happens for example when linux guests show the framebuffer console.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180220110433.20353-3-kraxel@redhat.com
ui/egl-headless.c