~ruther/dwl

ref: 623867a367ba8c3ee9ac1582015dcf1d6991a78f dwl/dwl.c -rw-r--r-- 35.5 KiB
623867a3 — Devin J. Pohly 5 years ago
turn focusnext into dwm's focusstack
59b09576 — Devin J. Pohly 5 years ago
restrict focusnext to the same monitor
a634b3f2 — Devin J. Pohly 5 years ago
style
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
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
Next
Do not follow this link