[Amsn-devel] Grab failed tcl error while closing from compiz-fusion scale addon

2009-01-09 Thread PEACEYALL
Hello! This is my first time programming tcl so I barely know anything about how dialog boxes work in tk. Anyways, If I try to close the chat window while more than one tab is opened from the compiz-fusion scale addon (as in the expose mac os x-like feature in compiz-fusion), after the close dialo

Re: [Amsn-devel] Grab failed tcl error while closing from compiz-fusion scale addon

2009-01-11 Thread PEACEYALL
l :D On Mon, Jan 12, 2009 at 12:46 AM, Tom Hennigan wrote: > Hey man thanks for your in depth description of the issue! > > I think that the second solution is better. The customMessageBox is used > in other places throughout aMSN's code base as well, and the modal > behavior

Re: [Amsn-devel] Grab failed tcl error while closing from compiz-fusion scale addon

2009-01-11 Thread PEACEYALL
Ooh and btw, that problem of course happens after the second solution is applied. On Mon, Jan 12, 2009 at 12:58 AM, PEACEYALL wrote: > Hii Tom! > > Ya I thought of that too. Although there is one more problem that I > have seen but it is extremelyhard to replicate so I really don&#x

Re: [Amsn-devel] Grab failed tcl error while closing from compiz-fusion scale addon

2009-01-12 Thread PEACEYALL
Which is what the code intended to do in the beginning. The proposed patch is attached. I hope it's enough to fix the problem! On Mon, Jan 12, 2009 at 1:03 AM, PEACEYALL wrote: > Ooh and btw, that problem of course happens after the second solution > is applied. > > On Mon, Ja

Re: [Amsn-devel] Grab failed tcl error while closing from compiz-fusion scale addon

2009-01-18 Thread PEACEYALL
> if {$command != "set" } { > ::tk::grab $command $window > } else { >set retries 5 > while { $retries > 0 } { > catch {focus -force $window} > if {[catch {grab set $window}] { > break >