Bug fix: Fix X pixmap leakage in shadow_paint

- Fix X pixmap leakage in shadow_paint.

- Add the skeleton of a X resource leakage checker.
This commit is contained in:
Richard Grenville
2014-08-03 19:40:40 +08:00
parent 3cfbaac955
commit a801118c04
5 changed files with 155 additions and 3 deletions

View File

@ -84,6 +84,12 @@ ifeq "$(NO_C2)" ""
OBJS += c2.o
endif
# ==== X resource checker ====
ifneq "$(ENABLE_XRESCHECK)" ""
CFG += -DDEBUG_XRC
OBJS += xrescheck.o
endif
# === Version string ===
COMPTON_VERSION ?= git-$(shell git describe --always --dirty)-$(shell git log -1 --date=short --pretty=format:%cd)
CFG += -DCOMPTON_VERSION="\"$(COMPTON_VERSION)\""