xserver-multidpi/hw
Hans de Goede 88f22fc5da linux: Do not call FatalError from xf86CloseConsole
FatalError ends up calling xf86CloseConsole itself, so calling FatalError
from within xf86CloseConsole is not a good idea.

Make switch_to log errors using xf86Msg(X_WARNING, ...) and return success
(or failure).

This makes switch_to match the other error checking done in xf86CloseConsole
which all logs warnings and continues.

Add checking of the return value in xf86OpenConsole and call
FatalError there when switch_to fails, to preserve the error-handling
behavior of xf86OpenConsole.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1269210
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit 2092f12a24)
2015-10-26 12:20:52 -04:00
..
dmx glxproxy: Fix an obvious thinko in QueryExtensionsString 2015-10-26 12:18:12 -04:00
kdrive Xephyr: Paint with subimage for non-Glamor & non-XSHM case 2015-10-26 12:18:36 -04:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 linux: Do not call FatalError from xf86CloseConsole 2015-10-26 12:20:52 -04:00
xnest hw/xnest: Fix build for MinGW 2015-06-03 09:05:37 -04:00
xquartz XQuartz: Cleanup formatting of DarwinEQInit that was butchered by automation a few years ago 2015-10-19 11:07:54 -07:00
xwayland xwayland: Don't (double) destroy input resources in CloseScreen 2015-10-26 11:53:11 -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