aboutsummaryrefslogtreecommitdiff
path: root/win.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-10-10 10:30:23 -0500
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d (patch)
treef1ae3a269e18cdff7638c7fe9eabe9a2bbab24b8 /win.h
parent1f24bde82b19912c080fbb4a0b153a248cd6c6ea (diff)
downloadst-3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d.tar.gz
st-3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d.tar.bz2
Call xsetenv() in main process instead of child
This makes xsetenv internal to x.c, and allows iso14755's external command to use $WINDOWID instead of having to snprintf it again. (The same benefit will apply to the externalpipe patch.) The xwinid function is no longer needed. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'win.h')
-rw-r--r--win.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/win.h b/win.h
index 428111c..423c114 100644
--- a/win.h
+++ b/win.h
@@ -19,12 +19,10 @@ void xinit(void);
void xloadcols(void);
int xsetcolorname(int, const char *);
void xloadfonts(char *, double);
-void xsetenv(void);
void xsettitle(char *);
void xsetpointermotion(int);
void xseturgency(int);
void xunloadfonts(void);
void xresize(int, int);
void xselpaste(void);
-unsigned long xwinid(void);
void xsetsel(char *, Time);