xserver/hw
Peter Hutterer e4497cd002 xfree86: always enable SIGIO on OsVendorInit (#50957)
Drivers call xf86InstallSIGIOHandler() for their fd on DEVICE_ON. That
function does not actually enable the signal if it was blocked to begin
with. As a result, if one vt-switches away from the server (SIGIO is
blocked) and then triggers a server regeneration, the signal remains
blocked and input devices are dead.

Avoid this by always unblocking SIGIO when we start the server.

X.Org Bug 50957 <http://bugs.freedesktop.org/show_bug.cgi?id=50957>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 9f1edced9a)
2012-07-09 10:39:03 +10:00
..
dmx dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-10 00:50:35 -07:00
kdrive Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
vfb Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xfree86 xfree86: always enable SIGIO on OsVendorInit (#50957) 2012-07-09 10:39:03 +10:00
xnest Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xquartz XQuartz: Avoid a race in initialization of darwinPointer 2012-05-29 13:17:03 -07:00
xwin Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00