D15135: [wayland] Syncronise pending geometry with acked configure requests

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg added a comment.


  In D15135#325448 <https://phabricator.kde.org/D15135#325448>, @davidedmundson wrote:
  
  > That's over complicating something that really doesn't need it.
  >  XdgShellInterface in frameworks will raise an error if serials are super wrong.
  
  
  Wasn't aware of that. But `XdgTopLevelV6Interface::Private::ackConfigure says:
  
    if (!configureSerials.contains(serial)) {
        // TODO: send error?
        return;
    }
  
  So at the moment it's not sending any error.  But since configure events are triggered by user or compositor actions and the geometry of a non-reacting client would just freeze and not generate more configure events we can still ignore misbehaving clients.

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D15135

To: davidedmundson, #kwin, romangg
Cc: romangg, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.