Open orencio opened 2 years ago
Curious fact is that if I split the Spotify workspace in two windows and in the other window I switch to scratch buffer, then all workspaces attend correctly to M-w
binding. Although I unsplit the Spotify workspace to maintain Spotify window alone.
That's weird.
Please, follow the steps in https://unix.stackexchange.com/questions/59141/find-x-org-pointer-grab-owner/62252#62252 or https://unix.stackexchange.com/questions/23164/manipulating-x-key-and-pointer-grabs-on-the-command-line/273198 to check who's grabbing the key.
Hello, I've migrated to emacs 28.1 (Arch Linux) and I get same issue.
I attach Xorg.0.log file with grab info.
At the moment of creating the log, the apps whose was hijacking M-w
key was electron (Element and Mattermost), and Spotify:
...
[ 62709.618] Printing all registered grabs of client pid 2358 /usr/lib/electron17/electron --type=gpu-process --enable-crashpad --enable-crash-reporter=b9edf277-5ae2-4dc8-9afb-98088e78b01d,no_channel --user-data-dir=/home/user/.config/Element --gpu-preferences=UAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABgAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --shared-files --field-trial-handle=0,1684284544763430908,4260445013085214435,131072 --enable-features=WebRTCPipeWireCapturer --disable-features=HardwareMediaKeyHandling,MediaSessionService,PlzServiceWorker,SpareRendererForSitePerProcess
[ 62709.621] Printing all registered grabs of client pid 11875 /app/extra/share/spotify/spotify --type=gpu-process --field-trial-handle=5432864910630463721,5842399891995256266,131072 --no-sandbox --log-severity=disable --user-agent-product=Chrome/96.0.4664.93 Spotify/1.1.77.643 --lang=en --user-data-dir=/home/user/.var/app/com.spotify.Client/config/spotify/User Data --gpu-preferences=UAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABgAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --log-file=/app/extra/share/spotify/debug.log --shared-files
...
I've probed to specify this and M-w
continues hijacked:
(setq exwm-input-prefix-keys
'(?\C-x
?\C-u
?\C-h
?\M-x
?\M-w
...
))
Regards.
Some applications hijack
M-w
binding for some minor modes.For example, flatpak Spotify application:
Launching this application (and switching to other workspace) causes
M-w
not to be recognized by Scratch buffer, org-mode.If I press
C-h k
and the pressM-w
emacs doesn't detect I've pressedM-w
.This is commented in:
Is there anyway to prevent
M-w
to be hijacked?