Commit graph

13 commits

Author SHA1 Message Date
Leonardo Hernández Hernández 14641560b0
include xcb only when building with xwayland support 2022-06-06 22:53:36 -05:00
KawaiiAmber 7b42232ad1
convert makefile to be more portable 2022-06-06 22:53:36 -05:00
Leonardo Hernández Hernández 5d8084daa7
add flag to print version and exit 2022-05-09 16:24:36 -05:00
Leonardo Hernández Hernández 2d6f932ecf
don't let -pedantic be overridable by environment 2022-03-31 09:21:27 -06:00
Leonardo Hernández Hernández aab397c30b
new functions ecalloc() and die()
die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS
2022-03-28 15:02:09 -06:00
Sevz 358562e2df
Merge pull request #180 from Humm42/manpage
add dwl(1)
2022-03-22 16:26:38 -06:00
Humm 0c4740b277 add dwl(1)
Documentation is good.  Man pages are documentation.  A program without
a man page is worthless.
2022-03-13 00:46:24 +01:00
Leonardo Hernández Hernández 5d9c9a9a68
don't warn about unused result
Closes: #186
2022-03-10 14:34:36 -06:00
Devin J. Pohly 848d89b7f3 XWayland still buggy, disable by default 2020-12-25 02:10:50 -05:00
Devin J. Pohly 388c5580cb consolidate some of the ugliness into a separate file
Similar to Linux kernel approach, encapsulate some of the uglier
conditional compilation into inline functions in header files.

The goal is to make dwl.c more attractive to people who embrace the
suckless philosophy - simple, short, hackable, and easy to understand.
We want dwm users to feel comfortable here, not scare them off.  Plus,
if we do this right, the main dwl.c code should require only minimal
changes once XWayland is no longer a necessary evil.

According to `cloc`, this also brings dwl.c down below 2000 lines of
non-blank, non-comment code.
2020-12-25 01:39:07 -05:00
Devin J. Pohly 57d0760635 let's not alienate the dwm folks
Fix style.
2020-12-24 22:21:00 -05:00
Keating950 9578816487
add install target to Makefile and corresponding prefix variable to config.mk 2020-11-22 12:58:49 -05:00
Devin J. Pohly e3e9504fcd make XWayland support optional 2020-08-10 12:50:56 -05:00