[PD] strange behaviour while closing dirty topcanvas

Krzysztof Czaja czaja at chopin.edu.pl
Wed Jun 20 12:14:42 CEST 2001


Hi again,

has anybody noticed that answering yes to 'close anyway?' dialog 
does not force a window to go away immediately, but only after
the next gui action?

If my understanding is right -- i.e. that any message sent from
the gui layer must end with a semicolon -- then in particular
the string of callback arguments passed to pdtk_check should
be ;-terminated (and semicolon does not need to be escaped).

Thus the change in canvas_menuclose() (line 1531 of g_canvas.c)
would be from
     {.x%x menuclose 1\\\n}\n", x);
to
     {.x%x menuclose 1;\n}\n", x);


Krzysztof



More information about the Pd-list mailing list