]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: Cosmetic cleanups
authorJohn Lindgren <john@jlindgren.net>
Sat, 26 Nov 2022 21:06:22 +0000 (16:06 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 26 Nov 2022 21:24:46 +0000 (21:24 +0000)
commit957d9e5926b710b6d00a07f44492459a3df4904f
tree90ebc37e4372aeb5d5778668cfd6eaadf5bf0e14
parent9dd55f0490fb034bc982cc9bcfd2458b7b890179
ssd: Cosmetic cleanups

- Minimize includes in `ssd.h`
- Avoid repetitive `view->ssd.margin` pattern
- Use `struct ssd *` or `const struct ssd *` rather than `struct view *`
  where convenient

Part of the motivation is to make it easier to separate `struct ssd`
from `struct view` in a future commit.
include/ssd.h
src/action.c
src/desktop.c
src/ssd/ssd.c
src/ssd/ssd_border.c
src/ssd/ssd_extents.c
src/ssd/ssd_titlebar.c
src/view.c
src/workspaces.c