# HG changeset patch # User Richard M. Stallman # Date 771652893 0 # Node ID 22b9aaaf0302cad216da3919cb549170686fd24d # Parent 28f9608f3c58f51f2580ce22874b12f7c293028c Put stdio.h after config.h. (XTread_socket): Use x_top_window_to_frame in prev change. diff -r 28f9608f3c58 -r 22b9aaaf0302 src/xterm.c --- a/src/xterm.c Wed Jun 15 03:55:42 1994 +0000 +++ b/src/xterm.c Wed Jun 15 04:01:33 1994 +0000 @@ -22,11 +22,12 @@ /* 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 @@ { /* 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);