Skip to content
  • David Edmundson's avatar
    Only commit XdgOutput::done if changed · 58af3e82
    David Edmundson authored
    Summary:
    XdgOutput no-ops if one calls setLogicalSize(someSize)  and someSize
    matches the last sent size
    
    However, as we have an explicit done signal, we currently end up sending
    this regardless.
    
    This patches tracks if we've made any changes to commit in the done
    event.
    
    CCBUG: 400987
    
    Reviewers: #kwin, romangg
    
    Reviewed By: #kwin, romangg
    
    Subscribers: romangg, kde-frameworks-devel
    
    Tags: #frameworks
    
    Differential Revision: https://phabricator.kde.org/D19255
    58af3e82