Skip to content
  • Owen W. Taylor's avatar
    Fix handling of dynamic updates to colors/font/etc. · 4a8f7aa8
    Owen W. Taylor authored
    Since the introduction of frame sync in GTK+, updates to titlebar font and
    colors haven't been working because GTK+ counts on the frame clock to
    do style updates, and the frame clock doesn't run for an unmapped
    GdkWindow. (It's possible that GtkStyleContext changes subsequent to
    the introduction of the frame clock were also needed to fully break
    things.)
    
    We actually need to map the MetaFrames GdkWindow and let the
    compositor code send out the frame sync messages in order to pick up
    style changes.
    
    Hopefully no bad side effects will occur from this - we make the window
    override-redirect, 1x1, and outside the bounds of the screen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725751
    4a8f7aa8