~ruther/dwl

ref: 18415278718bf8e162b0fbf5d3551134d1eb705a dwl/dwl.c -rw-r--r-- 90.1 KiB
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
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
da77e34e — Ben Collerson 2 years ago
Use uint32_t for ui Arg
20f61a59 — Leonardo Hernández Hernández 2 years ago
use fixed-size type for client tags

while the size of `int` in most compilers is 32-bits, the size of int and all
other integer types are implementation defined, so make sure we can use up to
32-bits
9d68554c — Ben Collerson 2 years ago
remove tag labels from dwl

Tag labels are not used in dwl. Only the number of tags is important.
Tag labels should be defined for each tag in whatever status bar is
used.
bbdf2a91 — Yves Zoundi 2 years ago
display clients count in monocle symbol

- Replicate missing functionality from dwl to display the client count in monocle mode
  - Add ltsymbol field to Monitor struct
  - Display client count in monocle mode when greater than zero
- Tested with somebar and dwlb
6722a895 — A Frederick Christensen 2 years ago
Missing apostrophe
c69a2bec — godalming123 2 years ago
Fix spacing and replace it with tabs
Next