Make sure we exclude control characters from search
This commit is contained in:
parent
fb48e0c647
commit
d2c5d89def
1 changed files with 3 additions and 0 deletions
|
@ -813,6 +813,9 @@ gtk_widget_key_press_event_cb (WebKitWebView* web_view,
|
|||
MidoriView* view)
|
||||
{
|
||||
guint character = gdk_unicode_to_keyval (event->keyval);
|
||||
/* Skip control characters */
|
||||
if (character == (event->keyval | 0x01000000))
|
||||
return FALSE;
|
||||
|
||||
if (!webkit_web_view_can_cut_clipboard (web_view)
|
||||
&& !webkit_web_view_can_paste_clipboard (web_view))
|
||||
|
|
Loading…
Reference in a new issue