Skip to content

Commit 58df55b

Browse files
authored
Merge pull request #106 from weihsinyeh/iconify
Remove iconified pixmap check when drawing cursor
2 parents 0b198db + d07da11 commit 58df55b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/screen.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,9 @@ void twin_screen_update(twin_screen_t *screen)
216216
}
217217

218218
#if defined(CONFIG_CURSOR)
219-
if (screen->cursor) {
220-
/* Skip drawing the region of the iconified pixmap. */
221-
if (!twin_pixmap_is_iconified(p, y))
222-
twin_screen_span_pixmap(screen, span, screen->cursor, y,
223-
left, right, pop16, pop32);
224-
}
219+
if (screen->cursor)
220+
twin_screen_span_pixmap(screen, span, screen->cursor, y, left,
221+
right, pop16, pop32);
225222
#endif
226223

227224
(*screen->put_span)(left, y, right, span, screen->closure);

0 commit comments

Comments
 (0)