Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 67
    • Issues 67
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 160
    • Merge requests 160
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • KWinKWin
  • Merge requests
  • !1935

wayland: Fix getting the last configure event

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Vlad Zahorodnii requested to merge work/zzag/wayland-fix-detecting-last-configure-event into master Jan 24, 2022
  • Overview 2
  • Commits 1
  • Pipelines 8
  • Changes 3

If there's only one configure event that changes the position of the window and it gets acknowledged but no buffer is attached yet, and a new configure is sent, then the ConfigurePosition flag won't be inherited by the new configure event and the window will be misplaced.

In order to fix that, this change makes XdgSurfaceClient pop the last acknowledged configure event from the m_configureEvents list only when it's about to be applied for sure.

BUG: 448856

Edited Jan 24, 2022 by Vlad Zahorodnii
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/zzag/wayland-fix-detecting-last-configure-event