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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
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 "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 */
|
/* X11 Variables */
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define 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 */
|
/* Defines */
|
||||||
/***********/
|
/***********/
|
||||||
|
@ -11,14 +15,12 @@
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
/************/
|
/************/
|
||||||
|
|
||||||
typedef struct _rckeys rckeys;
|
|
||||||
|
|
||||||
struct _rckeys {
|
struct _rckeys {
|
||||||
const char *label;
|
const char *label;
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _rckeys2 rckeys2;
|
typedef struct _rckeys rckeys;
|
||||||
|
|
||||||
struct _rckeys2 {
|
struct _rckeys2 {
|
||||||
const char *family;
|
const char *family;
|
||||||
|
@ -26,6 +28,8 @@ struct _rckeys2 {
|
||||||
char **var;
|
char **var;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _rckeys2 rckeys2;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
Pixmap mask;
|
Pixmap mask;
|
||||||
|
|
Loading…
Reference in a new issue