[KCP] fullScreenMode: (crashes)

Andreas Raab andreas.raab at gmx.de
Sat Jun 7 15:53:03 UTC 2003


> Any idea why this is crashing?

Not because of any dependency on SystemDictionary. See what you get when you
invoke it in SystemDictionary - my guess is that it will crash there too.

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of Stephane Ducasse
> Sent: Saturday, June 07, 2003 1:35 PM
> To: The list
> Subject: [KCP] fullScreenMode: (crashes)
> 
> 
> Hi
> 
> I wanted to move the method
>   fullScreenMode: from SystemDictionary to DisplayScreen
> 
> so I copied
> 
> 
> fullScreenMode: aBoolean
> 	"On platforms that support it, set full-screen mode to 
> the value of 
> the argument. (Note: you'll need to restore the Display after calling 
> this primitive."
> 	"Display fullScreenMode: true. Display newDepth: Display depth"
> 
> 	<primitive: 233>
> 	self primitiveFailed
> 
> to displayScreen
> 
> 
> When I then execute "Display fullScreenMode: true. the screen 
> gets full 
> and the VM crashes.
> 
> Andreas I thought that you told me that none of the primitive 
> has to be 
> defined on SystemDictionary and that we could move them elsewehere.
> 
> 
> Any idea why this is crashing?
> 
> Stef
> 
> 



More information about the Squeak-dev mailing list