~ruther/dwl

ref: d615d3836c8a4091a9fc7f5313e517f04df48601 dwl/dwl.c -rw-r--r-- 55.3 KiB
ef7a3764 — Devin J. Pohly 4 years ago
refactor focusclient
7856cdc1 — Devin J. Pohly 4 years ago
abc
da5deab0 — Devin J. Pohly 4 years ago
convert lastfocused() to focustop(m)
8a584d40 — Devin J. Pohly 4 years ago
pass previous focus to focusclient
e7e01e06 — Devin J. Pohly 4 years ago
remove surface from focusclient function

Honestly not sure why a specific surface is focused rather than the
client figuring that out.  Seems to work in a quick test, but we can
remember this commit if something breaks for, I dunno, mouse people.
17e525cc — Devin J. Pohly 4 years ago
C99 doesn't support anonymous unions

I'm cool with ->surface.xdg instead of ->xdg_surface though.
62339e7a — Devin J. Pohly 4 years ago
make setmon a bit more straightforward
e41ed533 — Devin J. Pohly 4 years ago
remove unneeded variable
2dbe5c60 — Devin J. Pohly 4 years ago
simplify pointerfocus

Similar to focusclient
90d80c0d — Devin J. Pohly 4 years ago
simplify focusclient

This arranges the function into some logical tasks: deactivate the old
client, update wlroots' keyboard focus, update our data structures, and
activate the new client.  The last two only need to be done when
focusing something new, so an early return saves some horizontal space.
0a59f47c — Devin J. Pohly 4 years ago
remove now-unused variables in focusclient
50aa44c5 — Devin J. Pohly 4 years ago
add tag bitset check from dwm
4e57dbd9 — Devin J. Pohly 4 years ago
attach_render and commit are all that's needed

attach_render tells the output that a "new" buffer has been prepared
(even if we haven't changed it).  We need to call that and then commit
it to keep the render loop going.

Software cursors will freeze momentarily during layout updates, but I
suspect that this is not as easily fixed as it sounds.  You can force
software cursors by running:

    WLR_NO_HARDWARE_CURSORS=1 ./dwl
21437b62 — Devin J. Pohly 4 years ago
style fixes
d6a18d69 — Alexander Courtis 4 years ago
do not render frames when any surface has uncommitted resizes
4e9396d9 — Devin J. Pohly 4 years ago
Merge pull request #29 from alex-courtis/tidy-activate-notify

tidy activate notify resource
7499044a — Alexander Courtis 4 years ago
tidy activate notify resource
d5fdd999 — Devin J. Pohly 4 years ago
make border color selection concise
5248efd4 — Devin J. Pohly 4 years ago
Merge pull request #21 from mchackorg/focus-color

Add support to change focused window's border color
2fb3701c — Michael Cardell Widerkrantz 4 years ago
Add support to change focused window's border color
Next
Do not follow this link