mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-06 04:06:06 -05:00
wayland: refactor: remove ‘struct config’ pointer from wayland struct
The global config doesn’t necessarily reflect the correct configuration to use - we should *always* use the current terminal instance’s conf pointer. * Move selection override modifier mask to the key_binding_set struct * Always warn if XDG activation is unavailable, not just if bell.urgent is set (we no longer have access to this information) * Pass ‘bool presentation_timings’ as a parameter to wayl_init() * Remove ‘presentation_timings’ member from the ‘terminal’ struct Closes #932
This commit is contained in:
parent
7a5e5a80b9
commit
24ee3dcc10
9 changed files with 30 additions and 27 deletions
2
render.c
2
render.c
|
|
@ -2920,7 +2920,7 @@ grid_render(struct terminal *term)
|
|||
|
||||
wl_surface_set_buffer_scale(term->window->surface, term->scale);
|
||||
|
||||
if (term->wl->presentation != NULL && term->render.presentation_timings) {
|
||||
if (term->wl->presentation != NULL && term->conf->presentation_timings) {
|
||||
struct timespec commit_time;
|
||||
clock_gettime(term->wl->presentation_clock_id, &commit_time);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue