xserver/hw
Adam Jackson 7a08d8d820 xfree86: Fix fallback driver sort order for Xorg -configure (v2)
The intent here was that fallback drivers would be at the end of the
list in order, but if a fallback driver happened to be at the end of the
list already that's not what would happen. Rather than open-code
something smarter, just use qsort.

Note that qsort puts things in ascending order, so somewhat backwardsly
fallbacks are greater than native drivers, and vesa is greater than
modesetting.

v2: Use strcmp to compare non-fallback drivers so we get a predictable
result if your libc's qsort isn't stable (Keith Packard)

Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 32a9504c69)
2016-07-19 13:14:30 -04:00
..
dmx dmx/glxProxy: don't free the glx pixmap twice if AddResource fails 2016-03-11 13:14:33 -05:00
kdrive kdrive: Nuke a bunch of dead code 2016-06-20 11:46:44 -04:00
vfb vfb: Re-add LD_EXPORT_SYMBOLS_FLAG to LDFLAGS 2016-03-29 16:42:30 -04:00
xfree86 xfree86: Fix fallback driver sort order for Xorg -configure (v2) 2016-07-19 13:14:30 -04:00
xnest xnest: Fix needless build dependency on xcb-util-keysyms 2015-12-09 10:45:49 -05:00
xquartz XQuartz: Update copyright years 2016-05-04 13:14:04 -07:00
xwayland xwayland: Update RR state on wl_output.done instead of wl_output.mode 2016-07-19 13:13:47 -04:00
xwin xwin: no need to free auth data if AddResource fails 2016-03-11 13:14:33 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00