lock screen gotcha revisited

J. Landman Gay jacque at hyperactivesw.com
Fri Aug 18 22:41:01 EDT 2017


Except when it doesn't. There seems to be an override in the lock count if 
any unlock uses a visual effect. I'm not sure if that's on purpose or not.
--
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On August 18, 2017 8:39:34 PM Mark Wieder via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> On 08/18/2017 03:50 PM, Bob Sneidar via use-livecode wrote:
>> Hard to say. I'm almost done finding every place I lock the screen and 
>> adding an unlock screen in the same handler.
>
> And that, of course, is the best procedure. Locking/unlocking the screen
> works on sort of a reference-counting approach. In general, locking the
> screen increments a counter, unlocking the screen decrements it. When
> the counter reaches zero, the screen is unlocked and all the pending
> updates take place.
>
> --
>   Mark Wieder
>   ahsoftware at gmail.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the Use-livecode mailing list