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-patched-3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d.tar.bz2
st-patched-3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d.tar.xz
st-patched-3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d.zip
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);
19void xloadcols(void); 19void xloadcols(void);
20int xsetcolorname(int, const char *); 20int xsetcolorname(int, const char *);
21void xloadfonts(char *, double); 21void xloadfonts(char *, double);
22void xsetenv(void);
23void xsettitle(char *); 22void xsettitle(char *);
24void xsetpointermotion(int); 23void xsetpointermotion(int);
25void xseturgency(int); 24void xseturgency(int);
26void xunloadfonts(void); 25void xunloadfonts(void);
27void xresize(int, int); 26void xresize(int, int);
28void xselpaste(void); 27void xselpaste(void);
29unsigned long xwinid(void);
30void xsetsel(char *, Time); 28void xsetsel(char *, Time);