macroize event handlers
This was a prime candidate for reducing the verbosity of some of our
code
credit for patch maintenance as well
update README based on contributions
XWayland still buggy, disable by default
no need to cast NULL to void *
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.
Stivvo deserves a shout-out too!
fix build with -DXWAYLAND
don't call applyexclusive just to return
let's not alienate the dwm folks
Fix style.
Merge updates from guidocella
Thanks so much for helping to keep the project running while life was
crazy!
Merge pull request #32 from alex-courtis/24-xwayland-cursor
#24 ensure that xwayland cursor defaults to left_ptr
Merge pull request #54 from Bonicgamer/swayscalebox
Sway scale_box (rounding)
Merge pull request #53 from Stivvo/fullscreen
Fullscreen support