DisplayScreen class>>hostWindowExtent: with HostWindowPlugin on X11 cannot possibly work (was: [squeak-dev] Re: The Trunk: Graphics-mt.332.mcz)

David T. Lewis lewis at mail.msen.com
Wed May 11 13:02:31 UTC 2016


On Wed, May 11, 2016 at 10:47:11AM +0200, Bert Freudenberg wrote:
> On 11.05.2016, at 07:32, tim Rowledge <tim at rowledge.org> wrote:
> 
> >> 
> >> But this cannot possibly work. The window index used by HostWindowPlugin
> >> is supposed to be opaque value, known to the plugin but not to the image.
> >> On a Windows platform, the window index might be 1.
> > 
> > IIRC (after all, I wrote this 12 years ago) we defined that the ???root??? window had to have a 1 index just so we could rely upon something.
> 
> Yep. That's why it's hard-coded in DisplayScreen but a variable in HostWindowProxy.
> 

Hmmm... it looks to me like it may take some work to make the unix
plugin work that way. But maybe I was just overlooking something.

Dave



More information about the Squeak-dev mailing list