Force Quit not responding applications. Click the 'x' icon to activate the the window selector and then select the window to kill. Requires 'xkill'.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
I don't know why you go at length with custom code to create the button, instead of using what's provided by SystemStatusButton, and your code reacts to single click, not double, but yeah, fine!
xkill returns 'unable to grab cursor' on first click and works only on the second. Looks like it is random. Any idea to fix it?
No, it's not random, it's a result of StButton emulating the implicit pointer grab X11 places on click with an explicit active grab. If you handle "clicked" instead of "button-press-event", everything works fine.
Thanks, fixed it. The new uploaded version should work fine.