]> git.mdlowis.com Git - proto/labwc.git/commit
view: Add view_reload_ssd()
authorJohn Lindgren <john@jlindgren.net>
Sat, 26 Nov 2022 07:13:42 +0000 (02:13 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 26 Nov 2022 18:02:24 +0000 (18:02 +0000)
commitac9228e7f8220bfa47fbeaf49987f542eda8a8ec
tree66411b3e4729307ee641bd61d1701a942b84c066
parentb150e11cd3a910676b8588fbba24e25dd51d858b
view: Add view_reload_ssd()

Gather related logic from `reload_config_and_theme()` in `server.c` and
`ssd_reload()` in `ssd.c` into a new function, `view_reload_ssd()`.

Also drop the `view->mapped` check since we want to update any view that
has SSD nodes created, mapped or not.
include/ssd.h
include/view.h
src/server.c
src/ssd/ssd.c
src/view.c