~ruther/dwl

9b2eec24 — Devin J. Pohly 5 years ago
add selclient() helper

This may get inlined later, but it's nice for now.  The focused client
if any should always be both at the top of fstack and visible on selmon.
3593da0e — Devin J. Pohly 5 years ago
continue to focus monitor under mouse cursor
240be1af — Devin J. Pohly 5 years ago
focus monitor under mouse cursor initially
f88a9832 — Devin J. Pohly 5 years ago
grabbed_client was too long a name
488929fe — Devin J. Pohly 5 years ago
turn on some warnings
d56bf3ce — Devin J. Pohly 5 years ago
set normal and dwm-like defaults in config.def.h
02c0c676 — Devin J. Pohly 5 years ago
move config.h to config.def.h
15952563 — Devin J. Pohly 5 years ago
inline moveresize

There were only two lines left in common
0a431972 — Devin J. Pohly 5 years ago
grabsx/y are only used by move now
749880ce — Devin J. Pohly 5 years ago
calculate resize based just on cursor/window

This eliminates the need for grab_height and grab_width.
996738a5 — Devin J. Pohly 5 years ago
add TinyWL and dwm LICENSE files

Credit where credit is due - dwl started with TinyWL and will be
including more bits of dwm code as it grows
def35721 — Devin J. Pohly 5 years ago
add setlayout function
fdbe9ee2 — Devin J. Pohly 5 years ago
Don't change tiling order in focusnext()

Use the focus stack instead to determine which client is focused
10bf0ff5 — Devin J. Pohly 5 years ago
add separate list of clients for focus order

Previously, clicking a client to focus it would change where it was in
the tiled layout as well.
3707e011 — Devin J. Pohly 5 years ago
layouts: tile and floating

Behavior's still a little wonky but positioning is there.
6f9f1b9e — Devin J. Pohly 5 years ago
"root" color was easy to make configurable
ffc19434 — Devin J. Pohly 5 years ago
fix rendering on scaled monitors

I have no idea why this takes the raw unscaled resolution, and then we
have to multiply by the scale *again* in render(), but that's life.
1907ee38 — Devin J. Pohly 5 years ago
introduce rules for monitor configuration

(with dwm, this would already have been done by the X server)
97f29ec6 — Devin J. Pohly 5 years ago
no need to manage unmapped clients

is there?
c37aa00a — Devin J. Pohly 5 years ago
consistent naming for coordinate variables

x and y are reserved (inasmuch as it's dwl's choice) for coordinates
relative to the layout.  ox and oy are used for output-relative
coordinates.  sx and sy are surface-relative.  dx and dy are deltas.

figuring this out the first time was kind of a Thing... just don't pay
attention to what happens in render and you should be fine.
Next
Do not follow this link