]> Sergey Matveev's repositories - st.git/blobdiff - FAQ
Optimisations
[st.git] / FAQ
diff --git a/FAQ b/FAQ
index fb402644245ca0a03af231e88cae6f52e0487f1c..6287a27ebaf6de8836cc7e30357052dc46d0c390 100644 (file)
--- a/FAQ
+++ b/FAQ
@@ -29,8 +29,8 @@ you can manually run `tic -sx st.info`.
 
 ## I would like to have utmp and/or scroll functionality by default
 
-You can add the absolute patch of both programs in your config.h
-file. You only have to modify the value of utmp and scroll variables.
+You can add the absolute path of both programs in your config.h file. You only
+have to modify the value of utmp and scroll variables.
 
 
 ## Why doesn't the Del key work in some programs?
@@ -189,18 +189,18 @@ buffer.
 diff --git a/x.c b/x.c
 --- a/x.c
 +++ b/x.c
-@@ -561,10 +561,6 @@ xresize(int col, int row)
-       win.tw = MAX(1, col * win.cw);
-       win.th = MAX(1, row * win.ch);
+@@ -732,10 +732,6 @@ xresize(int col, int row)
+       win.tw = col * win.cw;
+       win.th = row * win.ch;
  
 -      XFreePixmap(xw.dpy, xw.buf);
 -      xw.buf = XCreatePixmap(xw.dpy, xw.win, win.w, win.h,
 -                      DefaultDepth(xw.dpy, xw.scr));
 -      XftDrawChange(xw.draw, xw.buf);
        xclear(0, 0, win.w, win.h);
- }
  
-@@ -921,8 +917,7 @@ xinit(void)
+       /* resize to new width */
+@@ -1148,8 +1144,7 @@ xinit(int cols, int rows)
        gcvalues.graphics_exposures = False;
        dc.gc = XCreateGC(xw.dpy, parent, GCGraphicsExposures,
                        &gcvalues);
@@ -210,10 +210,10 @@ diff --git a/x.c b/x.c
        XSetForeground(xw.dpy, dc.gc, dc.col[defaultbg].pixel);
        XFillRectangle(xw.dpy, xw.buf, dc.gc, 0, 0, win.w, win.h);
  
-@@ -1386,8 +1381,6 @@ void
- draw(void)
+@@ -1632,8 +1627,6 @@ xdrawline(Line line, int x1, int y1, int x2)
+ void
+ xfinishdraw(void)
  {
-       drawregion(0, 0, term.col, term.row);
 -      XCopyArea(xw.dpy, xw.buf, xw.win, dc.gc, 0, 0, win.w,
 -                      win.h, 0, 0);
        XSetForeground(xw.dpy, dc.gc,
@@ -248,3 +248,6 @@ fonts:
 
 Please don't bother reporting this bug to st, but notify the upstream Xft
 developers about fixing this bug.
+
+As of 2022-09-05 this now seems to be finally fixed in libXft 2.3.5:
+https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS