comparison src/xterm.c @ 6757:770fe370479b

(show_mouse_face): Change the mouse cursor accordingly.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Fri, 08 Apr 1994 15:57:24 +0000
parents af1629dfdb4c
children 8fbcee1c2059
comparison
equal deleted inserted replaced
6756:8086a2590e2f 6757:770fe370479b
2206 } 2206 }
2207 2207
2208 /* If we turned the cursor off, turn it back on. */ 2208 /* If we turned the cursor off, turn it back on. */
2209 if (cursor_off) 2209 if (cursor_off)
2210 x_display_cursor (f, 1); 2210 x_display_cursor (f, 1);
2211
2212 /* Change the mouse cursor according to the value of HL. */
2213 if (hl > 0)
2214 XDefineCursor (XDISPLAY FRAME_X_WINDOW (f), f->display.x->cross_cursor);
2215 else
2216 XDefineCursor (XDISPLAY FRAME_X_WINDOW (f), f->display.x->text_cursor);
2211 } 2217 }
2212 2218
2213 /* Clear out the mouse-highlighted active region. 2219 /* Clear out the mouse-highlighted active region.
2214 Redraw it unhighlighted first. */ 2220 Redraw it unhighlighted first. */
2215 2221