~ruther/dwl

ref: 2cd0b3173d2ba7078347a8172b497d12fa592549 dwl/client.h -rw-r--r-- 3.9 KiB
2d2c2166 — Devin J. Pohly 3 years ago
Merge pull request #181 from Armael/fix-client_set_tiled

fix client_set_tiled which is currently ignoring its "edges" argument
f587b2fd — Armaël Guéneau 3 years ago
fix client_set_tiled, which was ignoring its "edges" argument
417e958a — Devin J. Pohly 3 years ago
Merge branch 'main' into wlroots-next
2e9c4d8e — Devin J. Pohly 3 years ago
simplify client_for_each_surface

All the XDG surface iterator does is iterate the main wlr_surface, then
iterate the popups.  If we inline that function, we can merge part of it
with the X11 case.
5dfd7cf1 — Devin J. Pohly 3 years ago
Merge branch 'main' into wlroots-next
06ca8600 — Devin J. Pohly 3 years ago
factor xwayland hackiness out into client.h
388c5580 — Devin J. Pohly 4 years ago
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.
Do not follow this link