xserver/hw
Adel Gadllah ae3aa32688 modesetting: Fix software cursor fallback
The code in drmmode_set_cursor does not properly handle the case where
drmModeSetCursor2 returns any other error than EINVAL and silently fails to set
a cursor.

So only return when the drmModeSetCursor2 succeeds (i.e returns 0) and disable
the cursor2 usage on EINVAL.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1205725
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit c3ce9d8fd4)
2015-06-03 09:05:38 -04:00
..
dmx Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
kdrive ephyr: Fail if glamor is requested but not usable 2015-06-03 09:05:36 -04:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 modesetting: Fix software cursor fallback 2015-06-03 09:05:38 -04:00
xnest hw/xnest: Fix build for MinGW 2015-06-03 09:05:37 -04:00
xquartz Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xwayland xwayland: Implement smooth scrolling 2015-06-03 09:05:38 -04:00
xwin hw/xwin/winclipboard: Link xwinclip with -lpthread 2015-06-03 09:05:37 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00