Greetings,

I have discovered a bug in the OS X native draw code used in both Drawterm
and Inferno's emu.
In multiple monitor setups, if the secondary monitor has a larger resolution
than the primary, the
window will resize, but the contents will not get any larger than the
maximum size on the primary
monitor. This is because screeninit() allocates enough memory for maximizing
on the primary
window only. I fixed this by writing a function max_bounds() which
calculates the theoretical max
resolution and allocates memory appropriately. I am attaching a patch for
Drawterm. The code is
a little different for Emu because of window resize events that Acme SAC
uses, so I will make a
separate release for that shortly.

--underspecified

Attachment: multiscreen-resize.diff
Description: Binary data

Reply via email to