Update xwinwrap.c
This commit is contained in:
parent
aa771f7035
commit
d03be33f35
|
@ -216,34 +216,34 @@ static void usage (void) {
|
||||||
static void sigHandler (int sig) { kill(pid, sig); }
|
static void sigHandler (int sig) { kill(pid, sig); }
|
||||||
|
|
||||||
int main (int argc, char **argv) {
|
int main (int argc, char **argv) {
|
||||||
Display *dpy;
|
Display *dpy;
|
||||||
Window win;
|
Window win;
|
||||||
Window root;
|
Window root;
|
||||||
Window p_desktop = 0;
|
Window p_desktop = 0;
|
||||||
int screen;
|
int screen;
|
||||||
XSizeHints xsh;
|
XSizeHints xsh;
|
||||||
XWMHints xwmh;
|
XWMHints xwmh;
|
||||||
char widArg[256];
|
char widArg[256];
|
||||||
char *widArgv[] = { widArg };
|
char *widArgv[] = { widArg };
|
||||||
char *endArg = NULL;
|
char *endArg = NULL;
|
||||||
int i;
|
int i;
|
||||||
int status = 0;
|
int status = 0;
|
||||||
unsigned int opacity = OPAQUE;
|
unsigned int opacity = OPAQUE;
|
||||||
int x = 0;
|
int x = 0;
|
||||||
int y = 0;
|
int y = 0;
|
||||||
unsigned int width = WIDTH;
|
unsigned int width = WIDTH;
|
||||||
unsigned int height = HEIGHT;
|
unsigned int height = HEIGHT;
|
||||||
int argb = 0;
|
int argb = 0;
|
||||||
int fullscreen = 0;
|
int fullscreen = 0;
|
||||||
int noInput = 0;
|
int noInput = 0;
|
||||||
int noFocus = 0;
|
int noFocus = 0;
|
||||||
Atom state[256];
|
Atom state[256];
|
||||||
int nState = 0;
|
int nState = 0;
|
||||||
int override = 0;
|
int override = 0;
|
||||||
win_shape shape = SHAPE_RECT;
|
win_shape shape = SHAPE_RECT;
|
||||||
Pixmap mask;
|
Pixmap mask;
|
||||||
GC mask_gc;
|
GC mask_gc;
|
||||||
XGCValues xgcv;
|
XGCValues xgcv;
|
||||||
|
|
||||||
|
|
||||||
dpy = XOpenDisplay (NULL);
|
dpy = XOpenDisplay (NULL);
|
||||||
|
|
Loading…
Reference in New Issue