From 24ee3dcc10c5e1cf57456cc39fa0b5e8700a06ed Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 17 Apr 2022 16:29:30 +0200 Subject: wayland: refactor: remove ‘struct config’ pointer from wayland struct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- terminal.c | 1 - 1 file changed, 1 deletion(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 2bb35ef5..389024f8 100644 --- a/terminal.c +++ b/terminal.c @@ -1202,7 +1202,6 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper, .count = conf->render_worker_count, .queue = tll_init(), }, - .presentation_timings = conf->presentation_timings, }, .delayed_render_timer = { .is_armed = false, -- cgit v1.3