mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
render: csd: don't even try to render CSDs when we're in fullscreen mode
This commit is contained in:
parent
c10f1d5459
commit
c9659ecd14
1 changed files with 3 additions and 0 deletions
3
render.c
3
render.c
|
|
@ -929,6 +929,9 @@ render_csd(struct terminal *term)
|
|||
if (term->is_shutting_down)
|
||||
return;
|
||||
|
||||
if (term->window->is_fullscreen)
|
||||
return;
|
||||
|
||||
for (size_t i = 0; i < CSD_SURF_COUNT; i++) {
|
||||
struct csd_data info = get_csd_data(term, i);
|
||||
const int x = info.x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue