Addressing relativeborder plus ligatures combo conflict

This commit is contained in:
bakkeby 2021-03-29 10:27:10 +02:00
parent 636edb09c2
commit dbd1d6ece0
2 changed files with 4 additions and 8 deletions

5
st.h
View File

@ -311,9 +311,6 @@ void boxdraw_xinit(Display *, Colormap, XftDraw *, Visual *);
void drawboxes(int, int, int, int, XftColor *, XftColor *, const XftGlyphFontSpec *, int);
#endif // XFT_VERSION
#endif // BOXDRAW_PATCH
#if RELATIVEBORDER_PATCH
int borderpx;
#endif // RELATIVEBORDER_PATCH
/* config.h globals */
extern char *utmp;
@ -339,4 +336,4 @@ extern DC dc;
extern XWindow xw;
extern XSelection xsel;
extern TermWindow win;
extern Term term;
extern Term term;

7
x.c
View File

@ -189,6 +189,9 @@ static int oldbutton = 3; /* button event on startup: 3 = release */
#if VISUALBELL_1_PATCH
static int bellon = 0; /* visual bell status */
#endif // VISUALBELL_1_PATCH
#if RELATIVEBORDER_PATCH
int borderpx;
#endif // RELATIVEBORDER_PATCH
#include "patch/x_include.c"
@ -1999,10 +2002,6 @@ xfinishdraw(void)
GC gc;
#endif // SIXEL_PATCH
#if VISUALBELL_3_PATCH
if (vbellmode == 3 && win.vbellset)
xdrawvbell();
#endif // VISUALBELL_3_PATCH
#if !SINGLE_DRAWABLE_BUFFER_PATCH
XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, 0, 0, win.w,
win.h, 0, 0);