On 2019-07-11 19:30, Paul Dupuis via use-livecode wrote:
Sorry, one more question:
I assume since 'the screen of stack' is calculated dynamically, that
in a 'on desktopChanged' handler (triggered by a monitor being
removed) that looking at 'the screen of stack' for a stack on the
now-removed monitor would give you the closest remaining monitor?
Yes - the engine refetches the displays list (which you see in the C
code)
before desktopChanged is sent (indeed, the engine responds to an OS
notification about the screen setup changing in order to send the
message).
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode