remove workaround for https://github.com/ibus/ibus/issues/1802
This commit is contained in:
parent
290ca4dbd6
commit
736e88aa46
|
@ -899,14 +899,6 @@ class Terminal(Gtk.VBox):
|
||||||
dbg('Terminal::on_keypress: Called on %s with no event' % widget)
|
dbg('Terminal::on_keypress: Called on %s with no event' % widget)
|
||||||
return(False)
|
return(False)
|
||||||
|
|
||||||
# Workaround for IBus interfering with broadcast when using dead keys
|
|
||||||
# Environment also needs IBUS_DISABLE_SNOOPER=1, or double chars appear
|
|
||||||
# in the receivers.
|
|
||||||
if self.terminator.ibus_running:
|
|
||||||
if (event.state | Gdk.ModifierType.MODIFIER_MASK ) ^ Gdk.ModifierType.MODIFIER_MASK != 0:
|
|
||||||
dbg('Terminal::on_keypress: Ingore processed event with event.state %d' % event.state)
|
|
||||||
return(False)
|
|
||||||
|
|
||||||
# FIXME: Does keybindings really want to live in Terminator()?
|
# FIXME: Does keybindings really want to live in Terminator()?
|
||||||
mapping = self.terminator.keybindings.lookup(event)
|
mapping = self.terminator.keybindings.lookup(event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue