X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdevice-tty.c;h=64dc23c9595578080df49d70c6314d53d5cae15d;hb=bbf3133177a15f214e3d0060e168ed86dbeed8a2;hp=754905d0caa6a2c39c512a7d7f76c9dcb6b24d9f;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/src/device-tty.c b/src/device-tty.c index 754905d..64dc23c 100644 --- a/src/device-tty.c +++ b/src/device-tty.c @@ -38,10 +38,6 @@ Boston, MA 02111-1307, USA. */ #include "syssignal.h" /* for SIGWINCH */ -#ifdef HAVE_GPM -#include -#endif - #include Lisp_Object Qinit_pre_tty_win, Qinit_post_tty_win; @@ -90,7 +86,7 @@ tty_init_device (struct device *d, Lisp_Object props) case TTY_INIT_SUCCESS: break; default: - abort (); + ABORT (); } init_one_device (d); @@ -155,15 +151,6 @@ tty_asynch_device_change (void) CONSOLE_TTY_DATA (con)->width = width; CONSOLE_TTY_DATA (con)->height = height; -#ifdef HAVE_GPM - /* We need to tell GPM how big our screen is now - ** I am pretty sure the GPM library will get incredibly confused - ** if you try to connect to more than one mouse-capable device, - ** so I don't think it will cause any more damage in that case. - */ - gpm_mx = width; - gpm_my = height; -#endif for (tail = DEVICE_FRAME_LIST (d); !NILP (tail); tail = XCDR (tail))