fix - trail now visible when cursor is underline

This commit is contained in:
Rick Choi
2024-10-13 18:46:45 +09:00
parent 20ba5e6918
commit 5c5a3c32cf

View File

@@ -10,7 +10,7 @@ get_cursor_edge(float *left, float *right, float *top, float *bottom, Window *w)
#define WD w->render_data
*left = WD.xstart + WD.screen->cursor_render_info.x * WD.dx;
*bottom = WD.ystart - (WD.screen->cursor_render_info.y + 1) * WD.dy;
switch (WD.screen->cursor->shape) {
switch (WD.screen->cursor_render_info.shape) {
case CURSOR_BLOCK:
case CURSOR_HOLLOW:
*right = *left + WD.dx;