~ruther/dwl

4567979b — Leonardo Hernández Hernández 1 year, 11 months ago
don't resize clients on commit

It creates an infinite commit-resize loop when scale != 1
ca4a97b9 — Leonardo Hernández Hernández 2 years ago
do not use wl_event_loop for signal handling

ΔSLOC: -4

Fixes: https://github.com/djpohly/dwl/issues/456
Fixes: https://github.com/djpohly/dwl/issues/459
76ba2cda — Devin J. Pohly 2 years ago
Remove now-unneeded call to motionnotify

This appears to have been here for the side effect of updating the drag
icon's position.
4b15bbeb — Devin J. Pohly 2 years ago
Remove unused icon variable
831fc36b — Devin J. Pohly 2 years ago
Make drag_icon a persistent scene node

If there is no current drag icon, this node will be empty, but we now
have `drag_icon != NULL` as an invariant.  This allows us to eliminate a
conditional, since there's no harm in moving an empty node's coordinates
around with the pointer.

ΔSLOC: -1
18415278 — Devin J. Pohly 2 years ago
properly destroy scene

ΔSLOC: +1
fbd84aca — Devin J. Pohly 2 years ago
Unify signal handling under wl_event_loop

Merge our signal handlers into a single function and let Wayland deal
with all the struct sigaction stuff.

ΔSLOC: -3
eda0613c — Devin J. Pohly 2 years ago
Separate drag icon from layers array and Lyr enum

If we treat the drag icon as distinct from other layers (it doesn't have
contents that are interactive, focusable, etc.), then we can iterate
over layers meaningfully with a simple for loop.

ΔSLOC: -8
68a17f96 — Devin J. Pohly 2 years ago
Don't bother with ignoring SIGCHLD

It added complexity, especially with the differences in behavior between
handled and ignored signals across an exec().
9c592da0 — Devin J. Pohly 2 years ago
Reset ignored signal handler in spawn() as well
df11b7a7 — Devin J. Pohly 2 years ago
fix startup_cmd SIGCHLD handler

Ignored handlers are not reset by exec() calls
5215712c — A Frederick Christensen 2 years ago
Stray whitespace fixes
9b9b79b3 — Leonardo Hernández Hernández 2 years ago
activate lock surface in updatemons

Fixes an issue when swaylock does not receive input after turn off and then
turn on the outputs
3d98907b — Leonardo Hernández Hernández 2 years ago
send frame done even if output commit fails

Bug: https://github.com/djpohly/dwl/issues/420
Fixes: https://github.com/djpohly/dwl/issues/353
f8884ffc — Nikita Ivanov 2 years ago
Set XCURSOR_SIZE
a5e45924 — Leonardo Hernández Hernández 2 years ago
remove note about contact me for patch issues

I am no longer able to spend much time developing dwl let alone maintaining
other's patches :)
72adab62 — Leonardo Hernández Hernández 2 years ago
destroy old client popups when focusing another client

Closes: https://github.com/djpohly/dwl/issues/408
0729f18d — Micah Gorrell 2 years ago
Prevent using a wlr_layer_surface after destroying it, due to no available outputs
797e0c74 — Leonardo Hernández Hernández 2 years ago
correctly check if a scene node is enabled

checking only wlr_scene_node.enabled may result in a false positive because it
does not consider if its ancestors are enabled as well.
3c760bcd — Leonardo Hernández Hernández 2 years ago
remove unneeded check of `m` in arrange()

arrange must never be called with a NULL argument
Next