[PD] open a subpatch with toxy

Patco megalegoland at yahoo.fr
Sun Dec 17 23:31:54 CET 2006


m.weiss a écrit :
> Patco schrieb:
>>>
>>>> m.weiss a écrit :
>>>>
>>>>>
>>>>> opening a subpatch or window in pd makes this growin bigger each
>>>>> time it is opened
>>
>> hello,
>>
>> I believe that the problemcomes from those lines in pd.tk:
>>
>> Line 863:
>>
>> # slide offscreen windows into view
>>    if {$tcl_version >= 8.4} {
>>        set geometry [split $geometry +]
>>        set i 1
>>        foreach geo {width height} {
>>            set screen($geo) [winfo screen$geo .]
>>            if {[expr [lindex $geometry $i] + [set $geo]] > 
>> $screen($geo)} {
>>                set pos($geo) [expr $screen($geo) - [set $geo]]
>>                if {$pos($geo) < 0} {set pos($geo) 0}
>>                lset geometry $i $pos($geo)
>>            }
>>            incr i
>>        }
>>        set geometry [join $geometry +]
>>   }
>>
>> I tried to modify this code but I would have lucky if it worked,
>> maybe someone could fix this?
>> Patco
> yes
> would be great
> thanks
> m.weiss
>
>
>
Ah, maybe I should post it in the bug tracker, but actually I don't care 
anymore because I don't know yet how to fix this, damned lazyness, eh...
best,
patco.

	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com





More information about the Pd-list mailing list