fix the possible bug for key mapping in Linux GTK library

pull/9850/head
klchang 7 years ago
parent 1ba29cc95d
commit d4ef5bc16a
  1. 2
      modules/highgui/src/window_gtk.cpp

@ -1632,7 +1632,7 @@ static gboolean icvOnKeyPress(GtkWidget* widget, GdkEventKey* event, gpointer us
break;
case GDK_Return:
case GDK_Linefeed:
code = '\n';
code = 13;
break;
case GDK_Tab:
code = '\t';

Loading…
Cancel
Save