aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c
index bc82f04623b..1b398a0b032 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1784,10 +1784,6 @@ XTmouse_position (f, bar_window, part, x, y, time)
1784{ 1784{
1785 FRAME_PTR f1; 1785 FRAME_PTR f1;
1786 1786
1787 /* If this isn't an X-window frame, quit now. */
1788 if (!FRAME_X_P (*f))
1789 return;
1790
1791 BLOCK_INPUT; 1787 BLOCK_INPUT;
1792 1788
1793 if (! NILP (last_mouse_scroll_bar)) 1789 if (! NILP (last_mouse_scroll_bar))
@@ -2940,7 +2936,9 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
2940 if (f != 0) 2936 if (f != 0)
2941 { 2937 {
2942 KeySym keysym, orig_keysym; 2938 KeySym keysym, orig_keysym;
2943 unsigned char copy_buffer[80]; 2939 /* al%imercury@uunet.uu.net says that making this 81 instead of
2940 80 fixed a bug whereby meta chars made his Emacs hang. */
2941 unsigned char copy_buffer[81];
2944 int modifiers; 2942 int modifiers;
2945 2943
2946 event.xkey.state 2944 event.xkey.state