summaryrefslogtreecommitdiff
path: root/x11/xterm/patches/patch-charproc_c
blob: d8cb5aeea0113c0e0d522ccc0db2cf34f5429e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Disable fontops completely
BlinkCuror fix

Index: charproc.c
--- charproc.c.orig
+++ charproc.c
@@ -580,7 +580,7 @@ static XtResource xterm_resources[] =
 
 #if OPT_BLINK_CURS
     Bres(XtNcursorBlinkXOR, XtCCursorBlinkXOR, screen.cursor_blink_xor, True),
-    Sres(XtNcursorBlink, XtCCursorBlink, screen.cursor_blink_s, "false"),
+    Sres(XtNcursorBlink, XtCCursorBlink, screen.cursor_blink_s, "never"),
 #endif
     Bres(XtNcursorUnderLine, XtCCursorUnderLine, screen.cursor_underline, False),
     Bres(XtNcursorBar, XtCCursorBar, screen.cursor_bar, False),
@@ -10319,7 +10319,7 @@ VTInitialize(Widget wrequest,
     screen->allowPasteControls = screen->allowPasteControl0;
     screen->allowSendEvents = screen->allowSendEvent0;
     screen->allowColorOps = screen->allowColorOp0;
-    screen->allowFontOps = screen->allowFontOp0;
+    screen->allowFontOps = False;
     screen->allowMouseOps = screen->allowMouseOp0;
     screen->allowTcapOps = screen->allowTcapOp0;
     screen->allowTitleOps = screen->allowTitleOp0;
@@ -13402,7 +13402,7 @@ ReallyReset(XtermWidget xw, Bool full, Bool saved)
     InitCursorShape(screen, screen);
     xtermSetCursorBox(screen);
 #if OPT_BLINK_CURS
-    screen->cursor_blink = screen->cursor_blink_i;
+    SetCursorBlink(xw, screen->cursor_blink_i);
     screen->cursor_blink_esc = 0;
     TRACE(("cursor_shape:%d blinks:%d\n",
 	   screen->cursor_shape,