wmgeneral: Use #includes from include-what-you-use.
This commit is contained in:
parent
6b1ed40882
commit
afd3d56aea
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
|
@ -40,18 +40,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include "wmgeneral.h"
|
||||
#include <X11/Xlib.h> /* for XCopyArea, etc */
|
||||
#include <X11/Xutil.h> /* for XSizeHints, XWMHints, etc */
|
||||
#include <X11/extensions/shape.h> /* for XShapeCombineMask */
|
||||
#include <X11/extensions/shapeconst.h> /* for ShapeBounding, ShapeSet */
|
||||
#include <X11/xpm.h> /* for XpmAttributes, Pixel, etc */
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* for fprintf, stderr, NULL, etc */
|
||||
#include <stdlib.h> /* for exit, free */
|
||||
#include <string.h> /* for strcmp, strdup, strcspn, etc */
|
||||
|
||||
/*****************/
|
||||
/* X11 Variables */
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef WMGENERAL_H_INCLUDED
|
||||
#define WMGENERAL_H_INCLUDED
|
||||
|
||||
#include <X11/X.h> /* for Pixmap */
|
||||
#include <X11/Xlib.h> /* for Display */
|
||||
#include <X11/xpm.h> /* for XpmAttributes */
|
||||
|
||||
/***********/
|
||||
/* Defines */
|
||||
/***********/
|
||||
|
@ -11,14 +15,12 @@
|
|||
/* Typedefs */
|
||||
/************/
|
||||
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys {
|
||||
const char *label;
|
||||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
typedef struct _rckeys rckeys;
|
||||
|
||||
struct _rckeys2 {
|
||||
const char *family;
|
||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
|||
char **var;
|
||||
};
|
||||
|
||||
typedef struct _rckeys2 rckeys2;
|
||||
|
||||
typedef struct {
|
||||
Pixmap pixmap;
|
||||
Pixmap mask;
|
||||
|
|
Loading…
Reference in a new issue