aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-09-29 16:59:01 +0200
committerjoe <rbo@gmx.us>2025-09-29 16:59:01 +0200
commit1d929a64f72b00f903b2ba774740cb768e0eeee2 (patch)
treeac36107bc4464c0031c71550d70d8b9e8fd0a904
parentgg (diff)
downloadst-1d929a64f72b00f903b2ba774740cb768e0eeee2.tar.gz
st-1d929a64f72b00f903b2ba774740cb768e0eeee2.tar.bz2
st-1d929a64f72b00f903b2ba774740cb768e0eeee2.tar.xz
st-1d929a64f72b00f903b2ba774740cb768e0eeee2.tar.zst
st-1d929a64f72b00f903b2ba774740cb768e0eeee2.zip
up
Diffstat (limited to '')
-rw-r--r--config.def.h2
-rw-r--r--config.mk2
-rw-r--r--x.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 753bab3..c41e29b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -186,7 +186,7 @@ static MouseShortcut mshortcuts[] = {
};
static char *linkviewcmd[] = { "/usr/bin/zsh", "-ic",
- "st -e linkview $(tmp=$(xurls | uniq | sed 's/\\[[0-9].*\\]//'); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 20 -m 0 | tr -d '\n' | cat)",
+ "linkview $(tmp=$(xurls | uniq | sed 's/\\[[0-9].*\\]//'); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 20 | tr -d '\n' | cat) --dmenu",
"externalpipe", NULL };
static char *cpyoutcmd[] = { "/bin/sh", "-c", "/usr/local/bin/st-cpyout", "externalpipe", NULL };
static char *cpyoutnopcmd[] = { "/bin/sh", "-c", "/usr/local/bin/st-cpyout noprompt", "externalpipe", NULL };
diff --git a/config.mk b/config.mk
index 39ea4da..a18aecd 100644
--- a/config.mk
+++ b/config.mk
@@ -21,7 +21,7 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`$(PKG_CONFIG) --libs freetype2`
# flags
-CFLAGS = -march=haswell -Os -pipe
+CFLAGS = -march=tigerlake -Os -pipe
STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS)
diff --git a/x.c b/x.c
index d67cb7a..0c0c96e 100644
--- a/x.c
+++ b/x.c
@@ -1599,7 +1599,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og)
break;
}
} else {
- /* XftDrawRect(xw.draw, &drawcol,
+ XftDrawRect(xw.draw, &drawcol,
borderpx + cx * win.cw,
borderpx + cy * win.ch,
win.cw - 1, 1);
@@ -1614,7 +1614,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og)
XftDrawRect(xw.draw, &drawcol,
borderpx + cx * win.cw,
borderpx + (cy + 1) * win.ch - 1,
- win.cw, 1); */
+ win.cw, 1);
}
}