]> git.eshelyaron.com Git - emacs.git/commit
Work around gtk_im_context_filter_keypress() issue with super key
authorYuuki Harano <masm+github@masm11.me>
Wed, 18 Nov 2020 16:20:06 +0000 (01:20 +0900)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
commitb1b744057f4605cf7165a2041d2979a7decdacff
treee319e1540155d8fca339e9140a500f2cfed6cde4
parent8fa5427130c67a9710838672a61eaf2db0eb16ba
Work around gtk_im_context_filter_keypress() issue with super key

* src/pgtkterm.c (x_find_modifier_meanings): Convert virtual super
to non-virtual one.
(pgtk_gtk_to_emacs_modifiers): Use non-virtual one.
(pgtk_emacs_to_gtk_modifiers): Use non-virtual one.
(key_press_event): Don't call pgtk_im_context_filter_keypress while
super is pressed.
* src/pgtkterm.h (struct pgtk_display_info): New member.
src/pgtkterm.c
src/pgtkterm.h