mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
Yes, xft should be on the buffer. Thanks Mihail Zenkov.
This commit is contained in:
parent
c7b033b8f0
commit
15c2bff9fa
1 changed files with 1 additions and 2 deletions
3
st.c
3
st.c
|
@ -2538,7 +2538,7 @@ xinit(void) {
|
|||
*/
|
||||
|
||||
/* Xft rendering context */
|
||||
xw.draw = XftDrawCreate(xw.dpy, xw.win, xw.vis, xw.cmap);
|
||||
xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);
|
||||
|
||||
/* input methods */
|
||||
if((xw.xim = XOpenIM(xw.dpy, NULL, NULL, NULL)) == NULL) {
|
||||
|
@ -2836,7 +2836,6 @@ redraw(int timeout) {
|
|||
struct timespec tv = {0, timeout * 1000};
|
||||
|
||||
tfulldirt();
|
||||
fprintf(stderr, "draw from redraw\n");
|
||||
draw();
|
||||
|
||||
if(timeout > 0) {
|
||||
|
|
Loading…
Reference in a new issue