Mercurial > hg > xemacs-beta
comparison src/event-Xt.c @ 347:7c94d56991e1 r21-1-3
Import from CVS: tag r21-1-3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:53:48 +0200 |
parents | 9ea74add5d37 |
children | 30d2cfa1092a |
comparison
equal
deleted
inserted
replaced
346:dd0986ffd2cf | 347:7c94d56991e1 |
---|---|
2033 unselect_filedesc (infd); | 2033 unselect_filedesc (infd); |
2034 #ifdef HAVE_GPM | 2034 #ifdef HAVE_GPM |
2035 /* On a stream device (ie: noninteractive), bad things can happen. */ | 2035 /* On a stream device (ie: noninteractive), bad things can happen. */ |
2036 if (EQ (CONSOLE_TYPE (con), Qtty)) { | 2036 if (EQ (CONSOLE_TYPE (con), Qtty)) { |
2037 mousefd = CONSOLE_TTY_MOUSE_FD (con); | 2037 mousefd = CONSOLE_TTY_MOUSE_FD (con); |
2038 if (mousefd >= 0) { | 2038 if (mousefd >= 0 && filedesc_to_what_closure[mousefd] ) { |
2039 unselect_filedesc (mousefd); | 2039 unselect_filedesc (mousefd); |
2040 } | 2040 } |
2041 } | 2041 } |
2042 #endif | 2042 #endif |
2043 } | 2043 } |