summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorSpenser Truex <truex@equwal.com>2022-08-15 01:20:16 -0300
committerSpenser Truex <truex@equwal.com>2022-08-15 01:54:18 -0300
commitf5b5452eac468760c2972daf184f18e16f03d1ff (patch)
treeea56c7cc8b51dfc8bc91fda72f1d9fd3717fe882 /st.h
parent1455fedf563eac284eab2adabdc369b9a72774e4 (diff)
parentbaa9357e96d2478baa52a3301e70ac80a229b726 (diff)
Merge latest suckless build into lukesmith-0.8.5
Includes the 0.8.5 version bump, which is great since many of the patches have already been updated to here too.
Diffstat (limited to 'st.h')
-rw-r--r--st.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/st.h b/st.h
index 3ddfadd..60d973a 100644
--- a/st.h
+++ b/st.h
@@ -88,6 +88,7 @@ void draw(void);
void externalpipe(const Arg *);
void kscrolldown(const Arg *);
void kscrollup(const Arg *);
+
void printscreen(const Arg *);
void printsel(const Arg *);
void sendbreak(const Arg *);
@@ -98,7 +99,7 @@ void tnew(int, int);
void tresize(int, int);
void tsetdirtattr(int);
void ttyhangup(void);
-int ttynew(char *, char *, char *, char **);
+int ttynew(const char *, char *, const char *, char **);
size_t ttyread(void);
void ttyresize(int, int);
void ttywrite(const char *, size_t, int);
@@ -116,7 +117,7 @@ size_t utf8encode(Rune, char *);
void *xmalloc(size_t);
void *xrealloc(void *, size_t);
-char *xstrdup(char *);
+char *xstrdup(const char *);
int isboxdraw(Rune);
ushort boxdrawindex(const Glyph *);
@@ -141,3 +142,5 @@ extern unsigned int defaultbg;
extern float alpha;
extern float alphaUnfocus;
extern const int boxdraw, boxdraw_bold, boxdraw_braille;
+extern unsigned int defaultcs;
+