diff options
| author | Gerd Moellmann | 2001-03-01 13:12:24 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-01 13:12:24 +0000 |
| commit | 420f628cf9b7d56a1073f4a02408bd869b37d946 (patch) | |
| tree | 14526c7d72560709301cd9e53d06b5b6f909b6e6 /src | |
| parent | 57c5889c08773e37867433e36b9c5adcced0442d (diff) | |
| download | emacs-420f628cf9b7d56a1073f4a02408bd869b37d946.tar.gz emacs-420f628cf9b7d56a1073f4a02408bd869b37d946.zip | |
(x_set_foreground_color): Set the background of the
cursor GC.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e81747972e6..02bca63433f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-03-01 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-03-01 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xfns.c (x_set_foreground_color): Set the background of the | ||
| 4 | cursor GC. | ||
| 5 | |||
| 3 | * xfns.c (x_set_font): Handle case of x_new_fontset returning the | 6 | * xfns.c (x_set_font): Handle case of x_new_fontset returning the |
| 4 | same name as before, although there was a change in fontsets. | 7 | same name as before, although there was a change in fontsets. |
| 5 | 8 | ||
diff --git a/src/xfns.c b/src/xfns.c index 58a965d985f..1add97f6599 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1350,6 +1350,8 @@ x_set_foreground_color (f, arg, oldval) | |||
| 1350 | f->output_data.x->foreground_pixel); | 1350 | f->output_data.x->foreground_pixel); |
| 1351 | XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->reverse_gc, | 1351 | XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->reverse_gc, |
| 1352 | f->output_data.x->foreground_pixel); | 1352 | f->output_data.x->foreground_pixel); |
| 1353 | XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc, | ||
| 1354 | f->output_data.x->foreground_pixel); | ||
| 1353 | UNBLOCK_INPUT; | 1355 | UNBLOCK_INPUT; |
| 1354 | update_face_from_frame_parameter (f, Qforeground_color, arg); | 1356 | update_face_from_frame_parameter (f, Qforeground_color, arg); |
| 1355 | if (FRAME_VISIBLE_P (f)) | 1357 | if (FRAME_VISIBLE_P (f)) |