mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04: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)
|
if (term->is_shutting_down)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (term->window->is_fullscreen)
|
||||||
|
return;
|
||||||
|
|
||||||
for (size_t i = 0; i < CSD_SURF_COUNT; i++) {
|
for (size_t i = 0; i < CSD_SURF_COUNT; i++) {
|
||||||
struct csd_data info = get_csd_data(term, i);
|
struct csd_data info = get_csd_data(term, i);
|
||||||
const int x = info.x;
|
const int x = info.x;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue