mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-05 07:15:30 -04:00
render: csd: split up positioning from rendering
This commit is contained in:
parent
9264e1e5bd
commit
92d638eb1c
4 changed files with 148 additions and 87 deletions
|
|
@ -1641,7 +1641,8 @@ term_visual_focus_in(struct terminal *term)
|
|||
wl_subsurface_set_desync(term->window->csd.sub_surface[i]);
|
||||
}
|
||||
#endif
|
||||
render_csd(term);
|
||||
//render_csd(term);
|
||||
render_csd_title(term);
|
||||
#if 1
|
||||
if (term->window->use_csd == CSD_YES) {
|
||||
for (int i = 0; i < ALEN(term->window->csd.surface); i++)
|
||||
|
|
@ -1667,7 +1668,8 @@ term_visual_focus_out(struct terminal *term)
|
|||
wl_subsurface_set_desync(term->window->csd.sub_surface[i]);
|
||||
}
|
||||
#endif
|
||||
render_csd(term);
|
||||
//render_csd(term);
|
||||
render_csd_title(term);
|
||||
#if 1
|
||||
if (term->window->use_csd == CSD_YES) {
|
||||
for (int i = 0; i < ALEN(term->window->csd.surface); i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue