Skip to content
  • Owen W. Taylor's avatar
    Correctly initialize window->input field · fb45b8f4
    Owen W. Taylor authored
    With the change from bug 582639, we no longer call the reload
    functions for properties that are not initially set, so the
    initialization of fields in window.c has to match what
    window-props.c would set for a missing property.
    
    There was only one discrepancy, window->input, which needs
    to be set to TRUE by default (or a window missing a WM_HINTS
    property won't get focus); we also add explicit initializers
    for a couple of fields that were getting 0-initialized
    to the correct default value of FALSE for consistency with
    the explicit intialization of the rest of the fields.
    
    Bug reported by Dominique Leuenberger
    https://bugzilla.gnome.org/show_bug.cgi?id=601228
    fb45b8f4