diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 11:57:37 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 11:57:37 +0000 |
| commit | f63458ef3387eac67a402e6ce7bedd91eb49d9bc (patch) | |
| tree | 44d2c73d0adc6b0d5e06e40298d10ecfa0a94f21 /search.c | |
| parent | fdm: use the FDM's poll loop (diff) | |
term: move per-window wayland objects from wayland struct to terminal struct
Short term, we want to break out the wayland backend from the terminal
struct. Long term, we might want to support multiple windows.
One step towards both the above is separating global wayland objects
from per-window objects.
Diffstat (limited to 'search.c')
| -rw-r--r-- | search.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,8 +19,8 @@ static void search_cancel_keep_selection(struct terminal *term) { - wl_surface_attach(term->wl.search_surface, NULL, 0, 0); - wl_surface_commit(term->wl.search_surface); + wl_surface_attach(term->window.search_surface, NULL, 0, 0); + wl_surface_commit(term->window.search_surface); free(term->search.buf); term->search.buf = NULL; |
