mirror of
https://github.com/labwc/labwc.git
synced 2026-02-08 10:06:59 -05:00
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.
This commit is contained in:
parent
b150e11cd3
commit
ac9228e7f8
5 changed files with 12 additions and 16 deletions
|
|
@ -154,6 +154,7 @@ void view_snap_to_edge(struct view *view, const char *direction,
|
|||
const char *view_get_string_prop(struct view *view, const char *prop);
|
||||
void view_update_title(struct view *view);
|
||||
void view_update_app_id(struct view *view);
|
||||
void view_reload_ssd(struct view *view);
|
||||
|
||||
void view_impl_map(struct view *view);
|
||||
void view_adjust_size(struct view *view, int *w, int *h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue