gnu: emacs-next-pgtk: Fix super key problem.

Recent version of emacs 29 with pgtk flag has a problem with handling super
key modifier, due to gtk bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4913
This commit workarounds it.

* gnu/packages/patches/emacs-pgtk-super-key-fix.patch: New file.
* gnu/packages/emacs.scm (emacs-next-pgtk): Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.
This commit is contained in:
Andrew Tropin 2022-09-16 15:53:53 +03:00
parent 888dfc8eb6
commit 77e768ac4e
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0
3 changed files with 54 additions and 0 deletions

View file

@ -409,6 +409,10 @@ languages.")
(package
(inherit emacs-next)
(name "emacs-next-pgtk")
(source
(origin
(inherit (package-source emacs-next))
(patches (search-patches "emacs-pgtk-super-key-fix.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments emacs-next)
((#:configure-flags flags #~'())