• Cosimo Cecchi's avatar
    window: stop stomping on resize-mode set by external API · d61c2b4c
    Cosimo Cecchi authored
    commit c3dc0d80 fixed the behavior of
    GtkContainer widgets requesting an IMMEDIATE resize-mode.
    However, GtkWindow has been stomping on resize-mode during realize()
    since commit addcc64b. The combination
    of factors that led to this not being a visible problem during all this
    while is uncertain, but this now causes the Shell to continuously try to
    relayout its ShellEmbeddedWindow (a GtkWindow subclass).
    This commit separates the resize-mode as set internally by GtkWindow
    from the one set with the external API, so that GtkWindow only changes
    it when it had not been set before by the subclass.