render: csd: don't even try to render CSDs when we're in fullscreen mode

This commit is contained in:
Daniel Eklöf 2020-03-03 18:23:52 +01:00
parent c10f1d5459
commit c9659ecd14
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;