D29272: Add support to keyboard shortcuts inhibitor
Benjamin Port <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
bport added a comment. In D29272#659598 <https://phabricator.kde.org/D29272#659598>, @davidedmundson wrote: > "The Wayland compositor is however under no obligation to disable > all of its shortcuts, and may keep some special key combo for its own > use, including but not limited to one allowing the user to forcibly > restore normal keyboard events routing in the case of an unwilling > client. The compositor may also use the same key combo to reactivate > an existing shortcut inhibitor that was previously deactivated on > user request." > > > Do we think it's important to have this when this lands or just deal with it if it becomes an issue? > > I think it should be relatively easy, just an earlier filter that calls: > waylandServer()->keyboardShortcutsInhibitManager()->getShortcutsInhibitor(surface, seat)->setActive(false); Yes harder part will be to find the shortcut Are we ok to let Meta key opening menu even if inhibitor is active ? REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D29272 To: bport, davidedmundson, zzag Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart