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 157
    • Merge requests 157
  • 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
  • !3448

Allow activating windows on other desktops regardless of focus stealing protection and add explicit option to do nothing when activating window on other desktop

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Nicolas Fella requested to merge work/nico/desktop-activation into master Jan 16, 2023
  • Overview 8
  • Commits 2
  • Pipelines 4
  • Changes 7

Currently, on X11, when activating a window that is not on the current desktop we allow this only if focus stealing protection is set to none.

If any focus stealing protection is set then activation is denied. That behavior is unintiutive to the user. When I e.g. click on a notification from a chat app I expect something to happen, regardless of focus stealing protection.

Remove the special handling of windows on different desktops and only apply the usual focus stealing prevention checks (based on timestamps etc). This also matches the behavior on Wayland.

To preserve the ability to not activate a window if it's on a different desktop add a third option to the activation behavior

BUG: 464283

Edited Jan 16, 2023 by Nicolas Fella
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/nico/desktop-activation