[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Ctrl+Alt+Q deactivated



On 09/19/2010 11:32 PM, Jo Even Skarstein wrote:

> I've attached a patch which does this. If $SDMASTER is defined, XaAES
> launch the program pointed to by this variable when Ctrl+Alt+Q is
> pressed. If $SDMASTER isn't set, XaAES is shutdown as before.

Ahh... I see a weakness here. If $SDMASTER is set but point to a
non-existing program, nothing will happen. I should take the return
value of create_process into consideration, and fall back to the old
shutdown if create_process fails. Will fix this tomorrow.

Jo Even