Dave <
nor...@nohost.com> wrote:
> On 2/18/2017 10:49 AM, Kevin Walzer wrote:
>>
>> It's global grab that doesn't work on Windows or Mac. That API is
>> also strongly discouraged as a Very Bad Thing on Linux because of
>> its potential to lock your machine. What's the rationale for using
>> it?
>
> Because at the time I thought it might be a good way to keep a
> "splash" screen "on top". I've abandoned the idea.
But "grab" is not a "keep on top" attribute. It is a "prevent the user
from interacting with anything else" attribute.
Which is why global grab is frowned upon greatly, the user is stuck
waiting for whatever has grabbed everything to finally release the grab
before they can do anything. And if the task that did the grab hangs,
the user is left with rebooting as often their only option to get out
of the mess.