• Benjamin Otte's avatar
    gsk: Add gsk_renderer_new_for_window() · 55638416
    Benjamin Otte authored
    and remove gsk_renderer_get_for_display().
    This new function returns a realized renderer. Because of that, GSK can
    catch failures to realize, destroy the renderer and try another one.
    Or in short: I can finally use GTK on Weston with the nvidia binary
    drivers again.
    Signed-off-by: default avatarEmmanuele Bassi <ebassi@gnome.org>
gtkwindow.c 341 KB