Shift will no longer cause the search box to pull focus
This commit is contained in:
parent
dcdca16a38
commit
c6cf131a94
@ -363,6 +363,8 @@ static gboolean key_press(GtkWidget* widget, GdkEvent* event, gpointer data) {
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case GDK_KEY_Shift_L:case GDK_KEY_Shift_R:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if(!gtk_widget_has_focus(entry)) {
|
if(!gtk_widget_has_focus(entry)) {
|
||||||
gtk_entry_grab_focus_without_selecting(GTK_ENTRY(entry));
|
gtk_entry_grab_focus_without_selecting(GTK_ENTRY(entry));
|
||||||
|
Loading…
Reference in New Issue
Block a user