~ruther/dwl

ref: a9e1cd42017e6e9a4fa7008e04a8aa66b7ac5a68 dwl/dwl.c -rw-r--r-- 79.2 KiB
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.
efe2a97b — Devin J. Pohly 4 years ago
fix build with -DXWAYLAND
1678b059 — Devin J. Pohly 4 years ago
don't call applyexclusive just to return
57d07606 — Devin J. Pohly 4 years ago
let's not alienate the dwm folks

Fix style.
20642753 — Devin J. Pohly 4 years ago
Merge updates from guidocella

Thanks so much for helping to keep the project running while life was
crazy!
cfe78159 — Devin J. Pohly 4 years ago
Merge pull request #32 from alex-courtis/24-xwayland-cursor

#24 ensure that xwayland cursor defaults to left_ptr
7803022d — Devin J. Pohly 4 years ago
simplify ROUND macro
128c2926 — Devin J. Pohly 4 years ago
Merge pull request #54 from Bonicgamer/swayscalebox

Sway scale_box (rounding)
c5087d41 — Devin J. Pohly 4 years ago
Merge pull request #53 from Stivvo/fullscreen

Fullscreen support
d94266df — Devin J. Pohly 4 years ago
fix crash on non-libinput pointers (e.g. X11 backend)
62529e25 — Devin J. Pohly 4 years ago
Merge pull request #49 from guidocella/layer-shell

Layer shell
b6a3891c — Devin J. Pohly 4 years ago
Merge pull request #62 from Java-boi/master

Added basic tap-to-click for touchpad users
a42613db — Devin J. Pohly 4 years ago
Merge pull request #66 from richardipsum/master

fix undeclared WLR_KEY_PRESSED
d21d5ee2 — Stivvo 4 years ago
Change fullscreen policies

When a new client is spawned, fullscreen isn't disabled for all clients
in that monitor any more.

Instead, all fullscreen clients are kept fullscreen, while other clients
spawn in the background.

When fullscreen is disabled, all clients are rearranged.

This is made to make dwl more flexible allowing multiple fullscreen
clients at the same time, have floating clients on top of a fullscreen
one and let stuff happen without quitting fullscreen, like many other
WMs and DEs.
707c1710 — Stivvo 4 years ago
quitallfullscreen() even when enabling fullscreen

Disable fullscreen on all visible clients in that monitor also before
enabling it on another client.

quitallfullscreen() is reintroduced becouse is now more useful

set c->isfullscreen later to avoid making quitallfullscreen() disable
fullscreen on the current client
86ba4c85 — Stivvo 4 years ago
Remove goto render (easier merge)
33e8a3f1 — Guido Cella 4 years ago
update comments and remove debugging printf
5668c616 — Stivvo 4 years ago
Define monitor order with monrules[]

The order in which monitors are defined in monrules[] actually matters.

Monotors that aren't configured in monrules[], it will always be the
leftmost.
cf7c5eae — Guido Cella 4 years ago
don't reset the cursor image

...in internal calls to restore pointer focus. Necessary for the
unclutter patch, and there's no harm in avoiding this call even in
mainline; might prevents issues in same edge cases.
499cb2c2 — Guido Cella 4 years ago
say TODO

just wtf is XXX supposed to be? It sounds like a pornographic thing.
Next
Do not follow this link