From 1d929a64f72b00f903b2ba774740cb768e0eeee2 Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 29 Sep 2025 16:59:01 +0200 Subject: up --- config.def.h | 2 +- config.mk | 2 +- x.c | 4 ++-- 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); } } -- cgit v1.2.3