Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
88ad5ea7
Commit
88ad5ea7
authored
Jul 18, 2005
by
YAMAMOTO Mitsuharu
Browse files
(x_set_cursor_color): Use XSetBackground and XSetForeground.
parent
c5fb0bd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/macfns.c
src/macfns.c
+4
-3
No files found.
src/macfns.c
View file @
88ad5ea7
...
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment