~ruther/dwl

ref: d56bf3cefb2677aff1f5d2cffa4f612f21dd657c dwl/dwl.c -rw-r--r-- 34.8 KiB
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.
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.
cdeff247 — Devin J. Pohly 5 years ago
inline xytosurface in xytoclient

It was a simpler function than it looked
0e9bceb8 — Devin J. Pohly 5 years ago
comment updates
552deb70 — Devin J. Pohly 5 years ago
split out setup() and run()
23924022 — Devin J. Pohly 5 years ago
cherry-pick 25d0d1b from upstream
26714f17 — Devin J. Pohly 5 years ago
inline handlemove/handleresize
599bec55 — Devin J. Pohly 5 years ago
render_data only needs coordinates, not Client
7056fbe1 — Devin J. Pohly 5 years ago
abc
1d2b0a7b — Devin J. Pohly 5 years ago
give types some more dwm-like typedef names
Next
Do not follow this link