summaryrefslogtreecommitdiffstats
path: root/video/out/hwdec/hwdec_vaapi.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2020-01-11 00:05:21 -0600
committerDudemanguy <random342@airmail.cc>2020-01-11 00:05:21 -0600
commitcfceaec266d4db68bd7f217adc31396e42eaf101 (patch)
treedeb39a9621baa98daec4e403fbf317301dbad9cd /video/out/hwdec/hwdec_vaapi.c
parent8b85b40b2fd77128da2503e90ed358605e3e2656 (diff)
downloadmpv-cfceaec266d4db68bd7f217adc31396e42eaf101.tar.bz2
mpv-cfceaec266d4db68bd7f217adc31396e42eaf101.tar.xz
wayland: don't set cursor before pointer id
This shouldn't really matter, but it's probably best to avoid. vo_wayland_control would execute set_cursor_visibility while wl->pointer existed but it didn't check if wl->pointer_id existed. So wl_pointer_set_cursor would be set to a null surface with an id of 0. Instead, just wait until we have an actual, non-zero pointer id so that the cursor is set with the correct, actual id and not a fictious 0 id. This ensures that the pointer isn't set until it enters the wl_surface which is what we want.
Diffstat (limited to 'video/out/hwdec/hwdec_vaapi.c')
0 files changed, 0 insertions, 0 deletions