simplify key handling logic

This commit is contained in:
Travis McLane 2024-03-07 09:03:32 -06:00
commit fb46cce963

View file

@ -1353,7 +1353,7 @@ func onKeyPressEvent(widget *C.GtkWidget, event *C.GdkEventKey, userData C.uintp
acceleratorString: accelerator,
}
}
return C.gboolean(0)
return C.gboolean(1)
}
func getKeyboardState(event *C.GdkEventKey) (string, bool) {