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>
This commit is contained in:
parent
1f24bde82b
commit
3e44ee5569
3 changed files with 4 additions and 14 deletions
2
win.h
2
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue