Skip to content
  • David Edmundson's avatar
    Fix layer shell reset · 97df88c6
    David Edmundson authored
    In the current form any client committing multiple times without
    attaching a buffer would unset the cached state and trigger an error.
    
    It's legal (though weird) to commit multiple times before attaching a
    buffer.
    
    We should only reset the state if we commit an empty buffer after having
    committed an existing buffer. This brings us in line with XdgShell.
    
    
    (cherry picked from commit a5c55b68)
    97df88c6