From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Tue, 16 Jun 2009 22:16:19 -0700 Message-ID: Subject: plan9port OS X window labels From: Russ Cox To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 0c10980e-ead5-11e9-9d60-3106f5b1d025 I fixed a bug in plan9port's OS X window label handling the other day, so that 9term windows will update their labels properly in response to awd. Unfortunately it seems that the label update must be done inside the application event loop, but it originates outside the event loop. For now I have made the event loop check for updates and apply them, so the label changes at the next keystroke or mouse event. The obvious solution is to generate a fake event that is either a no-op of an existing message or that the event loop can recognize and discard, just so that the event loop notices the window label has changed. However, I could not get this to work. Perhaps there are Carbon experts here who will have better luck. http://hg.pdos.csail.mit.edu/hg/plan9/rev/12502ec69b95 Thanks. Russ From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <58609E20-7235-4076-847A-AB8ABBE7BFC2@corpus-callosum.com> From: Jeff Sickel To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 17 Jun 2009 00:24:12 -0500 References: Subject: Re: [9fans] plan9port OS X window labels Topicbox-Message-UUID: 0c14bc40-ead5-11e9-9d60-3106f5b1d025 On Jun 17, 2009, at 12:16 AM, Russ Cox wrote: > label has changed. However, I could not get this > to work. Perhaps there are Carbon experts here > who will have better luck. I'm actually just in the process of getting rid of the Carbon code. I should have an update available in the next week or so. -jas From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <58609E20-7235-4076-847A-AB8ABBE7BFC2@corpus-callosum.com> References: <58609E20-7235-4076-847A-AB8ABBE7BFC2@corpus-callosum.com> Date: Wed, 17 Jun 2009 08:41:51 -0700 Message-ID: <3e1162e60906170841n4902b60as4f056dd647eabbc@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd2e57c466764046c8d2162 Subject: Re: [9fans] plan9port OS X window labels Topicbox-Message-UUID: 0c2e089e-ead5-11e9-9d60-3106f5b1d025 --000e0cd2e57c466764046c8d2162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Jun 16, 2009 at 10:24 PM, Jeff Sickel wrote: > On Jun 17, 2009, at 12:16 AM, Russ Cox wrote: > > label has changed. However, I could not get this >> to work. Perhaps there are Carbon experts here >> who will have better luck. >> > > I'm actually just in the process of getting rid of the Carbon code. I > should have an update available in the next week or so. > > -jas > > > Do you mean a Cocoa version? Or something else? :-) --000e0cd2e57c466764046c8d2162 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Jun 16, 2009 at 10:24 PM, Jeff S= ickel <jas@= corpus-callosum.com> wrote:
On Jun 17, 2009, at 12:16 AM, Russ Cox wrote:

label has changed. =A0However, I could not get this
to work. =A0Perhaps there are Carbon experts here
who will have better luck.

I'm actually just in the process of getting rid of the Carbon code. =A0= I should have an update available in the next week or so.

-jas


Do you mean a Cocoa version? =A0Or something else? :-) --000e0cd2e57c466764046c8d2162-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 17 Jun 2009 09:11:16 -0700 Message-ID: Subject: Re: plan9port OS X window labels From: Russ Cox To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 0c3a4852-ead5-11e9-9d60-3106f5b1d025 > label has changed. =C2=A0However, I could not get this > to work. =C2=A0Perhaps there are Carbon experts here > who will have better luck. > > http://hg.pdos.csail.mit.edu/hg/plan9/rev/12502ec69b95 Fixed, thanks to Andr=C3=A9 G=C3=BCnther. Russ