From: Richard M. Stallman Date: Wed, 15 Jun 1994 04:01:33 +0000 (+0000) Subject: Put stdio.h after config.h. X-Git-Tag: emacs-19.34~7951 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4846819e1139ed896ff852e74691469f58554624;p=emacs.git Put stdio.h after config.h. (XTread_socket): Use x_top_window_to_frame in prev change. --- diff --git a/src/xterm.c b/src/xterm.c index f2b0449a991..ddd3ffbe972 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -22,11 +22,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* On 4.3 these lose if they come after xterm.h. */ /* On HP-UX 8.0 signal.h loses if it comes after config.h. */ /* Putting these at the beginning seems to be standard for other .c files. */ -#include #include #include +#include + /* Need syssignal.h for various externs and definitions that may be required by some configurations for calls to signal later in this source file. */ #include "syssignal.h" @@ -3446,8 +3447,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected) { /* This is just so we only give real data once for a single Emacs process. */ - if (event.xclient.window - == FRAME_X_WINDOW (selected_frame)) + if (x_top_window_to_frame (event.xclient.window) + == selected_frame) XSetCommand (x_current_display, event.xclient.window, initial_argv, initial_argc);