mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
(x_set_cursor_color): Use XSetBackground and XSetForeground.
This commit is contained in:
parent
c5fb0bd65e
commit
88ad5ea792
1 changed files with 4 additions and 3 deletions
|
|
@ -1570,9 +1570,10 @@ x_set_cursor_color (f, arg, oldval)
|
|||
{
|
||||
BLOCK_INPUT;
|
||||
/* Update frame's cursor_gc. */
|
||||
f->output_data.mac->cursor_gc->foreground = fore_pixel;
|
||||
f->output_data.mac->cursor_gc->background = pixel;
|
||||
|
||||
XSetBackground (FRAME_MAC_DISPLAY (f),
|
||||
f->output_data.mac->cursor_gc, pixel);
|
||||
XSetForeground (FRAME_MAC_DISPLAY (f),
|
||||
f->output_data.mac->cursor_gc, fore_pixel);
|
||||
UNBLOCK_INPUT;
|
||||
|
||||
if (FRAME_VISIBLE_P (f))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue