aboutsummaryrefslogtreecommitdiffstats
path: root/src/pgtkterm.c
diff options
context:
space:
mode:
authorYuuki Harano2018-01-13 20:27:11 +0900
committerJeff Walsh2020-11-22 14:46:55 +1100
commit045e25278bdec3e08c3c069a537e4ae7a66de262 (patch)
tree379aaf3da93a0e865f5df4278809d187df47c50a /src/pgtkterm.c
parent1b621c8e3c1aa1dd71d39f080703292cde270446 (diff)
downloademacs-045e25278bdec3e08c3c069a537e4ae7a66de262.tar.gz
emacs-045e25278bdec3e08c3c069a537e4ae7a66de262.zip
Add support for cursor_foreground_colors
* ../src/pgtkterm.c (x_set_cursor_gc): * ../src/pgtkfns.c (x_set_cursor_color, Fx_create_frame) (syms_of_pgtkfns): * src/pgtkterm.h (struct pgtk_output): cursor_foreground_color 対応。 あんまり意味なかった感じ。
Diffstat (limited to 'src/pgtkterm.c')
-rw-r--r--src/pgtkterm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index a1c42eb2748..4f2c4542372 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -765,10 +765,8 @@ x_set_cursor_gc (struct glyph_string *s)
765 if (xgcv.foreground == xgcv.background) 765 if (xgcv.foreground == xgcv.background)
766 xgcv.foreground = s->face->foreground; 766 xgcv.foreground = s->face->foreground;
767 PGTK_TRACE("x_set_cursor_gc: 4. %08lx, %08lx.", xgcv.background, xgcv.foreground); 767 PGTK_TRACE("x_set_cursor_gc: 4. %08lx, %08lx.", xgcv.background, xgcv.foreground);
768#if 0
769 if (xgcv.foreground == xgcv.background) 768 if (xgcv.foreground == xgcv.background)
770 xgcv.foreground = FRAME_X_OUTPUT(s->f)->cursor_foreground_pixel; 769 xgcv.foreground = FRAME_X_OUTPUT(s->f)->cursor_foreground_color;
771#endif
772 if (xgcv.foreground == xgcv.background) 770 if (xgcv.foreground == xgcv.background)
773 xgcv.foreground = s->face->foreground; 771 xgcv.foreground = s->face->foreground;
774 PGTK_TRACE("x_set_cursor_gc: 5. %08lx, %08lx.", xgcv.background, xgcv.foreground); 772 PGTK_TRACE("x_set_cursor_gc: 5. %08lx, %08lx.", xgcv.background, xgcv.foreground);