aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/render.c b/render.c
index 710ef4a0..451b0ff3 100644
--- a/render.c
+++ b/render.c
@@ -2563,13 +2563,15 @@ render_urls(struct terminal *term)
term->wl->shm, width, height, shm_cookie_url(url), false, 1);
const struct coord *pos = &url->start;
- int x = pos->col * term->cell_width - 2 * term->cell_width;
- int y = pos->row * term->cell_height - term->cell_height;
+ int x = pos->col * term->cell_width - 15 * term->cell_width / 10;
+ int y = pos->row * term->cell_height - 5 * term->cell_height / 10;
if (x < 0)
- x += 4 * term->cell_width;
+ x = 0;
+#if 0
if (y < 0)
- y += 2 * term->cell_height;
+ y += 15 * term->cell_height / 10;
+#endif
wl_subsurface_set_position(
sub_surf,