[PD] Re: [PD-announce] devel_0_38

guenter geiger geiger at xdv.org
Mon Nov 8 01:10:46 CET 2004


On Sun, 7 Nov 2004, 0001 wrote:
> > Lets hope so.
>
> ok that didn't sound very convincing.

Well, I meant it to be convincing. The uncertainity came more from the
fact that there might be bugs that we don't know how to fix.

If you send in a patch that fixes a bug it is very likely that it gets
applied. This is the whole reasoning behind it. We want to avoid that
fixes get lost, and the tracker reminds us what is still to be done and
what has been fixed already.

Guenter

> I wanted to make a patch but I found out that u_main.tk doesn't seem to
> be the same in MAIN than in the OSX release ..
> is that possible or am I missing something ?
>
> it's something very simple but it never gets into official tree ... the
> ALT key on OSX!!!
> I think many people would like to use it.
> It happens to be called "Option" instead of "Alt"
>
> the fix is easy and harmless
> here's a quick diff of u_main.tk in  Pd-0.38-0test7.app
>
> 953,956d952
> <     bind $name.c <Alt-Button> {pdtk_canvas_click %W %x %y %b 4}
> <     bind $name.c <Alt-Shift-Button> {pdtk_canvas_click %W %x %y %b 5}
> <     bind $name.c <Alt-Control-Button> {pdtk_canvas_click %W %x %y %b
> 6}
> <     bind $name.c <Alt-Control-Shift-Button> {pdtk_canvas_click %W %x
> %y %b 7}
> 957a954,965
>  > # Alt key is called Option on the Mac
>  >     if {$pd_nt == 2} {
>  >         bind $name.c <Option-Button> {pdtk_canvas_click %W %x %y %b 4}
>  >         bind $name.c <Option-Shift-Button> {pdtk_canvas_click %W %x
> %y %b 5}
>  >         bind $name.c <Option-Control-Button> {pdtk_canvas_click %W %x
> %y %b 6}
>  >         bind $name.c <Option-Control-Shift-Button> {pdtk_canvas_click
> %W %x %y %b 7}
>  >     } else {
>  >         bind $name.c <Alt-Button> {pdtk_canvas_click %W %x %y %b 4}
>  >         bind $name.c <Alt-Shift-Button> {pdtk_canvas_click %W %x %y
> %b 5}
>  >         bind $name.c <Alt-Control-Button> {pdtk_canvas_click %W %x %y
> %b 6}
>  >         bind $name.c <Alt-Control-Shift-Button> {pdtk_canvas_click %W
> %x %y %b 7}
>  >     }
> 977c985,989
> <     bind $name.c <Alt-Key> {pdtk_canvas_altkey %W %K %A}
> ---
>  >     if {$pd_nt == 2} {
>  >         bind $name.c <Option-Key> {pdtk_canvas_altkey %W %K %A}
>  >     } else {
>  >         bind $name.c <Alt-Key> {pdtk_canvas_altkey %W %K %A}
>  >     }
> 987c999,1004
> <     bind $name.c <Alt-Motion> {pdtk_canvas_motion %W %x %y 4}
> ---
>  >     if {$pd_nt == 2} {
>  >         bind $name.c <Option-Motion> {pdtk_canvas_motion %W %x %y 4}
>  >     } else {
>  >         bind $name.c <Alt-Motion> {pdtk_canvas_motion %W %x %y 4}
>  >     }
>  >
>
>
> .
> g
>





More information about the Pd-list mailing list