aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-02-25 13:28:07 +0000
committerGerd Moellmann2000-02-25 13:28:07 +0000
commit98f14d342d83f5d77fcfe114b66b6bb6ed9aba1c (patch)
treed8d9af6e392aa2567e794c82138d7bf82fe84a34 /src/xterm.c
parent4eb8436ff5c7ec3519963dc80f669c3616ac9b76 (diff)
downloademacs-98f14d342d83f5d77fcfe114b66b6bb6ed9aba1c.tar.gz
emacs-98f14d342d83f5d77fcfe114b66b6bb6ed9aba1c.zip
(XTread_socket): Remove busy-cursor code.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 0d9dd981d7f..32c35150755 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8876,21 +8876,6 @@ XTread_socket (sd, bufp, numchars, expected)
8876 { 8876 {
8877 XNextEvent (dpyinfo->display, &event); 8877 XNextEvent (dpyinfo->display, &event);
8878 8878
8879 if (display_busy_cursor_p)
8880 {
8881 /* Setting inhibit_busy_cursor to 2 inhibits busy-cursor
8882 display until the next X event is read and we come
8883 here again. Setting it to 1 inhibits busy-cursor
8884 display for direct commands. */
8885 if (event.type == MotionNotify
8886 || event.type == EnterNotify
8887 || (dpyinfo->grabbed
8888 && event.type != ButtonRelease))
8889 inhibit_busy_cursor = 2;
8890 else
8891 inhibit_busy_cursor = 1;
8892 }
8893
8894#ifdef HAVE_X_I18N 8879#ifdef HAVE_X_I18N
8895 { 8880 {
8896 /* Filter events for the current X input method. 8881 /* Filter events for the current X input method.
@@ -9058,8 +9043,6 @@ XTread_socket (sd, bufp, numchars, expected)
9058 else if (event.xclient.message_type 9043 else if (event.xclient.message_type
9059 == dpyinfo->Xatom_Scrollbar) 9044 == dpyinfo->Xatom_Scrollbar)
9060 { 9045 {
9061 if (display_busy_cursor_p)
9062 inhibit_busy_cursor = 2;
9063 x_scroll_bar_to_input_event (&event, bufp); 9046 x_scroll_bar_to_input_event (&event, bufp);
9064 ++bufp, ++count, --numchars; 9047 ++bufp, ++count, --numchars;
9065 goto out; 9048 goto out;
@@ -9454,10 +9437,6 @@ XTread_socket (sd, bufp, numchars, expected)
9454 bufp++; 9437 bufp++;
9455 count++; 9438 count++;
9456 numchars--; 9439 numchars--;
9457
9458 if (display_busy_cursor_p)
9459 if (keysym != XK_Return || minibuf_level == 0)
9460 inhibit_busy_cursor = 2;
9461 } 9440 }
9462 else if (numchars > nbytes) 9441 else if (numchars > nbytes)
9463 { 9442 {
@@ -9831,8 +9810,6 @@ XTread_socket (sd, bufp, numchars, expected)
9831 9810
9832 if (!tool_bar_p) 9811 if (!tool_bar_p)
9833 last_tool_bar_item = -1; 9812 last_tool_bar_item = -1;
9834 if (display_busy_cursor_p)
9835 inhibit_busy_cursor = 2;
9836 } 9813 }
9837 else 9814 else
9838 { 9815 {