Hi,
you could also have a look at my old project
http://flpsed.org/flimp.html
It's a minimal graphical frontend for command line image processing
tools. It tries to keep the results of the individual processing
steps aligned, so you can compare the results easily by switching
tabs.
Regards,
Johan
Hi,
here is a patch that replaces long with int.
It saves some memory on 64bit systems.
Regards,
Johannes
diff --git a/st.c b/st.c
index fda7044..51ecd21 100644
--- a/st.c
+++ b/st.c
@@ -179,9 +179,9 @@ typedef unsigned short ushort;
typedef struct {
char c[UTF_SIZ]; /* character code
Hi,
why is a type that can have a different number of bits on 32/64 bit
systems used for Glyph.fg and Glyph.bg?
Wouldn't unsigned int be enough?
Regards,
Johannes
Hi,
in my previous patch I was missing some conditions in xunloadfonts()
which crashes st when changing fontsize. Sorry for that.
Johannes
diff --git a/st.c b/st.c
index 56955a3..c1e806e 100644
--- a/st.c
+++ b/st.c
@@ -369,6 +369,7 @@ static void xresettitle(void);
static void xseturgency(in
Hi,
as others also have noticed, Xft based st starts slow on some
systems. For me it helps if FcFontSort() is done lazily as shown
below.
Regards,
Johannes
diff --git a/st.c b/st.c
index 50090a4..425f669 100644
--- a/st.c
+++ b/st.c
@@ -2643,10 +2643,7 @@ xloadfont(Font *f, FcPattern *pattern)
Hi,
there is a small glitch in the error handling of the select() call
in st.c. See patch below.
Regards,
Johannes
diff --git a/st.c b/st.c
index 5251e70..689de26 100644
--- a/st.c
+++ b/st.c
@@ -3481,7 +3481,7 @@ run(void) {
FD_SET(cmdfd, &rfd);
FD_SET(xfd, &rfd)
Hi,
for today's widescreen monitors I find it quite nice to have two
master areas side by side.
Attached extended nmaster.c makes this possible with the ncol
layout. Include nmaster.c as usual and add an entry
{ "||=", ncol },
to layouts.
Cheers,
Johannes
enum {MaxMon = 8};
static int