mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 23:34:49 -05:00
Remove a couple of outdated FIXME comments.
I had originally planned to implement a Compose-type key locally in GTK PuTTY, as I did in Windows PuTTY. But in fact we've done this for some time by delegating to the GTK IM system, which is a far better idea anyway. So there's no point any more having the FIXME comment that mentions Compose keys. Also, there was a comment worrying about what I was going to do about double-width characters in Pango, which is long since sorted out.
This commit is contained in:
parent
81152e5f38
commit
9a3b743260
@ -819,10 +819,6 @@ gint key_event(GtkWidget *widget, GdkEventKey *event, gpointer data)
|
||||
}
|
||||
|
||||
if (event->type == GDK_KEY_PRESS) {
|
||||
/*
|
||||
* NYI: Compose key (!!! requires Unicode faff before even trying)
|
||||
*/
|
||||
|
||||
/*
|
||||
* If Alt has just been pressed, we start potentially
|
||||
* accumulating an Alt+numberpad code. We do this by
|
||||
@ -3095,11 +3091,8 @@ void do_beep(void *frontend, int mode)
|
||||
int char_width(Context ctx, int uc)
|
||||
{
|
||||
/*
|
||||
* Under X, any fixed-width font really _is_ fixed-width.
|
||||
* Double-width characters will be dealt with using a separate
|
||||
* font. For the moment we can simply return 1.
|
||||
*
|
||||
* FIXME: but is that also true of Pango?
|
||||
* In this front end, double-width characters are handled using a
|
||||
* separate font, so this can safely just return 1 always.
|
||||
*/
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user