summaryrefslogtreecommitdiff
path: root/src/nouveau_xv.c
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2019-01-19 15:45:36 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2019-01-20 21:09:30 -0500
commitcc284803fd75e0e340a5481342e0d0f7a5d7fa15 (patch)
tree493d794c5db077be244a572688865acb4b89b99a /src/nouveau_xv.c
parenta4283f7fee5b0376f62ba305a2a47ee3dc5a822f (diff)
downloadxorg-driver-xf86-video-nouveau-cc284803fd75e0e340a5481342e0d0f7a5d7fa15.tar.gz
Check for xf86CursorResetCursor()
If it's available, xorg-server calls it on each mode configuration change. It does what xf86_reload_cursors does (and more), so we don't need to call the latter anymore. Avoids gcc 8.2 warning: drmmode_display.c: In function ‘drmmode_set_mode_major’: drmmode_display.c:525:2: warning: ‘xf86_reload_cursors’ is deprecated [-Wdeprecated-declarations] xf86_reload_cursors(crtc->scrn->pScreen); ^~~~~~~~~~~~~~~~~~~ In file included from nv_type.h:10, from nv_include.h:69, from drmmode_display.c:36: /usr/include/xorg/xf86Crtc.h:1068:37: note: declared here static _X_INLINE _X_DEPRECATED void xf86_reload_cursors(ScreenPtr screen) {} ^~~~~~~~~~~~~~~~~~~ (Ported from radeon commit d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9) Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Diffstat (limited to 'src/nouveau_xv.c')
0 files changed, 0 insertions, 0 deletions