With the command xkill, you can cancel applications that show up on your screen just by clicking onto them.