mirror of
https://github.com/vale981/spectrwm
synced 2025-03-06 02:01:42 -05:00

hooking XCreateWindow and friends via LD_PRELOAD. Used now to make sure that windows come up in the workspace they were spawn()'d from, but more soon. Code to do the nasty borrowed with thanks from Enlightenment.
18 lines
291 B
Makefile
18 lines
291 B
Makefile
# $scrotwm$
|
|
.include <bsd.xconf.mk>
|
|
|
|
SUBDIR= lib
|
|
|
|
PROG=scrotwm
|
|
MAN=scrotwm.1
|
|
|
|
CFLAGS+=-Wall -Wno-uninitialized -ggdb3
|
|
CPPFLAGS+= -I${X11BASE}/include
|
|
LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr
|
|
|
|
MANDIR= ${X11BASE}/man/cat
|
|
|
|
obj: _xenocara_obj
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.xorg.mk>
|