Disable fullscreen when no image

This commit is contained in:
speedie 2023-06-24 03:00:00 +02:00
parent 02c6c4ac5c
commit aba3541d37

View file

@ -38,6 +38,10 @@ void drawimage(void) {
int width = 0, height = 0;
char *limg = NULL;
if (fullscreen && !image) {
togglefullimg(NULL);
}
if (!lines || !columns || hideimage) return;
// load image cache