diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-03 19:01:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-03 19:01:53 +0000 |
| commit | ba399fa874ad172d09f0b4d291f554374d19d6e0 (patch) | |
| tree | 1d2611bd108a7442f4794578ce5a0ac2844dcd81 /render.c | |
| parent | input: discard canceled compose sequences (diff) | |
| parent | search: bug: re-initialize start-row when attempting a new match (diff) | |
Merge branch 'scrollback-search-extend-to-end-of-word'
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -795,7 +795,8 @@ render_search_box(struct terminal *term) wl_subsurface_set_position( term->window->search_sub_surface, - term->width - width - margin, term->height - height - margin); + max(0, term->width - width - margin), + max(0, term->height - height - margin)); wl_surface_damage_buffer(term->window->search_surface, 0, 0, width, height); wl_surface_attach(term->window->search_surface, buf->wl_buf, 0, 0); |
