Update xwinwrap.c

This commit is contained in:
Maxim 2019-03-22 20:38:57 -05:00 committed by GitHub
parent aa771f7035
commit d03be33f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 29 deletions

View File

@ -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);