renamed draw.{c,h} x.{c,h}
This commit is contained in:
parent
4e92d61804
commit
f88cc4e831
2
Makefile
2
Makefile
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
include config.mk
|
include config.mk
|
||||||
|
|
||||||
SRC = draw.c \
|
SRC = x.c \
|
||||||
dunst.c \
|
dunst.c \
|
||||||
dbus.c \
|
dbus.c \
|
||||||
utils.c \
|
utils.c \
|
||||||
|
2
dunst.c
2
dunst.c
@ -29,7 +29,7 @@
|
|||||||
#include <X11/extensions/scrnsaver.h>
|
#include <X11/extensions/scrnsaver.h>
|
||||||
|
|
||||||
#include "dunst.h"
|
#include "dunst.h"
|
||||||
#include "draw.h"
|
#include "x.h"
|
||||||
#include "dbus.h"
|
#include "dbus.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "rules.h"
|
#include "rules.h"
|
||||||
|
2
dunst.h
2
dunst.h
@ -5,7 +5,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "draw.h"
|
#include "x.h"
|
||||||
|
|
||||||
#define ERR(msg) printf("%s : %d\n", (msg), __LINE__)
|
#define ERR(msg) printf("%s : %d\n", (msg), __LINE__)
|
||||||
#define PERR(msg, errnum) printf("(%d) %s : %s\n", __LINE__, (msg), (strerror(errnum)))
|
#define PERR(msg, errnum) printf("(%d) %s : %s\n", __LINE__, (msg), (strerror(errnum)))
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
#include "dbus.h"
|
#include "dbus.h"
|
||||||
#include "draw.h"
|
#include "x.h"
|
||||||
#include "notification.h"
|
#include "notification.h"
|
||||||
#include "dunst.h"
|
#include "dunst.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "draw.h"
|
#include "x.h"
|
||||||
|
|
||||||
#define LOW 0
|
#define LOW 0
|
||||||
#define NORM 1
|
#define NORM 1
|
||||||
|
@ -40,7 +40,7 @@ DEALINGS IN THE SOFTWARE.
|
|||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
|
|
||||||
#include "draw.h"
|
#include "x.h"
|
||||||
|
|
||||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
Loading…
x
Reference in New Issue
Block a user