Let TextView handle normal keys, to make cursor blink well
parent
d8ecebc03d
commit
d5d1860907
|
@ -100,11 +100,7 @@ int _moo_edit_key_press_event (GtkWidget *widget,
|
||||||
text_view = GTK_TEXT_VIEW (widget);
|
text_view = GTK_TEXT_VIEW (widget);
|
||||||
buffer = edit->priv->text_buffer;
|
buffer = edit->priv->text_buffer;
|
||||||
|
|
||||||
if (gtk_im_context_filter_keypress (text_view->im_context, event))
|
if (!mods)
|
||||||
{
|
|
||||||
handled = TRUE;
|
|
||||||
}
|
|
||||||
else if (!mods)
|
|
||||||
{
|
{
|
||||||
switch (keyval)
|
switch (keyval)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue