Do not try to use gpm in X11.
commit8183aecd905596f9a3f80269d6982e04af9a9835
authorwitekfl <witekfl@poczta.onet.pl>
Wed, 6 Jul 2011 11:19:09 +0000 (6 13:19 +0200)
committerwitekfl <witekfl@poczta.onet.pl>
Wed, 6 Jul 2011 11:19:09 +0000 (6 13:19 +0200)
treec51ce570d7eb636af43c053b69e662d03bbd6694
parent03c698e926d4421ba43d905b6d9fd7388b97352f
Do not try to use gpm in X11.

X11 is detected by checking DISPLAY variable.
Without this ELinks stopped on reading from /dev/gpmctl.
src/network/socket.c
src/osdep/unix/unix.c