Update xwinwrap.c

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

View File

@ -47,7 +47,7 @@
* Tech Blog: https://www.itdominator.com/
*
* Changelog:
* 22-March-19: 1. Cleaned up code formatting.
* 3-March-19: 1. Cleaned up code formatting.
* 2. Removed unused DEBUG_MSG reference.
* 3. Moved functions to a more reasonable order.
* 4. Compile dev library list 32 & 64 bit:
@ -95,7 +95,7 @@ static int nChildArgv = 0;
int debug = 0;
char desktop_window_name[DESKTOP_WINDOW_NAME_MAX_SIZE];
static int addArguments (char **argv, int n) {
static int addArguments(char **argv, int n) {
char **newArgv;
int i;
@ -112,7 +112,7 @@ static int addArguments (char **argv, int n) {
return n;
}
static void setWindowOpacity (Display *dpy, Window win, unsigned int opacity) {
static void setWindowOpacity(Display *dpy, Window win, unsigned int opacity) {
CARD32 o;
o = opacity;
XChangeProperty (dpy, win, XInternAtom (dpy, "_NET_WM_WINDOW_OPACITY", 0),
@ -120,7 +120,7 @@ static void setWindowOpacity (Display *dpy, Window win, unsigned int opacity) {
(unsigned char *) &o, 1);
}
static Visual * findArgbVisual (Display *dpy, int scr) {
static Visual * findArgbVisual(Display *dpy, int scr) {
XVisualInfo *xvi;
XVisualInfo template;
int nvi;