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

Bert Freudenberg bert at freudenbergs.de
Wed May 11 08:47:11 UTC 2016


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.

- Bert -


More information about the Squeak-dev mailing list