[squeak-dev] The Trunk: Graphics-mt.518.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Jun 1 10:42:49 UTC 2022
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.518.mcz
==================== Summary ====================
Name: Graphics-mt.518
Author: mt
Time: 1 June 2022, 12:42:42.383329 pm
UUID: 39ca7519-8370-4a49-8b83-1719a4bf7008
Ancestors: Graphics-mt.517
Fixes X11 issue with XResizeWindow directly followed by XGetWindowAttributes. I think that it makes sense to address this in the image unless somebody can propose a useful fix like "sync" or "wait a frame" in the VM. See platforms/unix/vm-display-X11/sqUnixX11.c.
=============== Diff against Graphics-mt.517 ===============
Item was changed:
----- Method: DisplayScreen class>>hostWindowExtent: (in category 'host window access') -----
hostWindowExtent: aPoint
+ [self
- ^ [self
primitiveWindow: self hostWindowIndex
width: aPoint x
height: aPoint y]
on: Error "primitive failed such as in headless mode"
+ do: [:ex | "ignore" ].
+
+ Smalltalk windowSystemName = 'X11'
+ ifTrue: [100 milliSeconds wait].
+
+ ^ self actualScreenSize!
- do: [:ex | Display extent]!
More information about the Squeak-dev
mailing list
|