Fix a corner-case for emoji input
authorMatthias Clasen <mclasen@redhat.com>
Mon, 11 Sep 2017 15:17:41 +0000 (11:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 Sep 2017 15:19:47 +0000 (11:19 -0400)
commitcf288a1b0920abe5787dc0ceaf279e66fe31396a
tree6db0e093e3a728e080e35f6be389c4afbbc8fa00
parent2102f78582d5ef86aef2e8aaa0bd1ed1d437b422
Fix a corner-case for emoji input

As reported in https://github.com/ibus/ibus/issues/1944,
typing u201e while holding Ctrl+Shift used to give a „
when letting go of Ctrl+Shift. This broke when we introduced
Ctrl+Shift+e to start Emoji sequences. Fix this by only
looking for Ctrl+Shift+e if we are not already in a hex
sequence.
gtk/gtkimcontextsimple.c