Commit 4846819e authored by Richard M. Stallman's avatar Richard M. Stallman

Put stdio.h after config.h.

(XTread_socket): Use x_top_window_to_frame in prev change.
parent 5cb0a75a
...@@ -22,11 +22,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -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 4.3 these lose if they come after xterm.h. */
/* On HP-UX 8.0 signal.h loses if it comes after config.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. */ /* Putting these at the beginning seems to be standard for other .c files. */
#include <stdio.h>
#include <signal.h> #include <signal.h>
#include <config.h> #include <config.h>
#include <stdio.h>
/* Need syssignal.h for various externs and definitions that may be required /* Need syssignal.h for various externs and definitions that may be required
by some configurations for calls to signal later in this source file. */ by some configurations for calls to signal later in this source file. */
#include "syssignal.h" #include "syssignal.h"
...@@ -3446,8 +3447,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected) ...@@ -3446,8 +3447,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
{ {
/* This is just so we only give real data once /* This is just so we only give real data once
for a single Emacs process. */ for a single Emacs process. */
if (event.xclient.window if (x_top_window_to_frame (event.xclient.window)
== FRAME_X_WINDOW (selected_frame)) == selected_frame)
XSetCommand (x_current_display, XSetCommand (x_current_display,
event.xclient.window, event.xclient.window,
initial_argv, initial_argc); initial_argv, initial_argc);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment