X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=st.c;h=213541f50a0ebb2bbe5873769a4d887b2b6247dc;hb=c9bd58e4dd04e61aa3613eab57ba6fb716a41146;hp=6f5ca8036ee39bfdeaae466bc3e9d7c84f219df9;hpb=b233007e0fddbb5ad8da3e436533254d099c8861;p=st.git diff --git a/st.c b/st.c index 6f5ca80..213541f 100644 --- a/st.c +++ b/st.c @@ -1390,7 +1390,7 @@ tsetattr(int *attr, int l) { case 1: term.c.attr.mode |= ATTR_BOLD; break; - case 3: /* enter standout (highlight) */ + case 3: term.c.attr.mode |= ATTR_ITALIC; break; case 4: @@ -1406,7 +1406,7 @@ tsetattr(int *attr, int l) { case 22: term.c.attr.mode &= ~ATTR_BOLD; break; - case 23: /* leave standout (highlight) mode */ + case 23: term.c.attr.mode &= ~ATTR_ITALIC; break; case 24: @@ -2497,7 +2497,7 @@ xinit(void) { /* double buffering */ if(!XdbeQueryExtension(xw.dpy, &major, &minor)) die("Xdbe extension is not present\n"); - xw.buf = XdbeAllocateBackBufferName(xw.dpy, xw.win, XdbeCopied); + xw.buf = XdbeAllocateBackBufferName(xw.dpy, xw.win, XdbeBackground); /* Xft rendering context */ xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);