Skip to main content

apply_wayland_fix

Function apply_wayland_fix 

Source
fn apply_wayland_fix<R: Runtime>(window: &WebviewWindow<R>, fix: WaylandFix)
Expand description

Apply the selected #139 workaround to a freshly-shown main window. Reached only on a Linux Wayland session (see show_main_window); the nudge/maximize strategies defer their second half onto a later event-loop tick because Wayland coalesces state set within a single turn — the flaw that made the 0.0.6 synchronous nudge a no-op.