KWIN_DISABLE_SHORTCUTS: allow disabling registering kwin shortcuts
AbandonedPublic

Authored by apol on May 14 2020, 1:50 PM.

Details

Reviewers
None
Group Reviewers
KWin
Summary

When running kwin nested in another session, the nested kwin will hijack the
shortcuts of the parent's. This makes it impossible to e.g. alt+tab after running
a nested session.

Test Plan

Can alt+tab during and after running a nested session.

Diff Detail

Repository
R108 KWin
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 26902
Build 26920: arc lint + arc unit
apol created this revision.May 14 2020, 1:50 PM
Restricted Application added a project: KWin. · View Herald TranscriptMay 14 2020, 1:50 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
apol requested review of this revision.May 14 2020, 1:50 PM

Do you have a situation where you run nested but specifically don't want to run a new dbus-session?

zzag added a subscriber: zzag.May 14 2020, 1:54 PM

I don't have issues with keyboard shortcuts. Do you run kwin as dbus-run-session kwin_wayland?

apol abandoned this revision.May 14 2020, 1:57 PM

I don't do it because it's harder to set up the IDE to have a wrapper. I'll address it in KDevelop.

I guess this doesn't matter if you're both happy with the status quo.

apol added a comment.May 14 2020, 2:45 PM

An example is flatpak apps don't run because they can't find the portals dbus service which doesn't restart because it's running in the actual dbus instance.