summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display.h b/src/display.h
index 2f85be5..cd4a367 100644
--- a/src/display.h
+++ b/src/display.h
@@ -27,6 +27,8 @@
#include "eventqueue.h"
#include "common.h"
+#define meta_XFree(p) do { if ((p)) XFree ((p)); } while (0)
+
/* this doesn't really belong here, oh well. */
typedef struct _MetaRectangle MetaRectangle;