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 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 165
    • Merge requests 165
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • 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
  • !162

[X11] ignore _NET_WM_MOVERESIZE event if mouse left button is not pressed

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open zhang haidong requested to merge zhanghaidong/kwin:master into master Jul 30, 2020
  • Overview 9
  • Commits 3
  • Pipelines 0
  • Changes 1

Summary: First, we simulate a special case: pause a CSD client process, and then click the title bar to drag. At this time, the client does not move. Then resume the process, move the mouse over the client , and you will find that the client moves with the mouse.In fact, if we install kwin on a virtual machine and access it through cloud desktop. This often happens because a potential race between _NET_WM_MOVERESIZE and mouse event.So,checking mouse left button to avoid window move with mouse

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master