--- x11-utils-7.4+2/xev/xev.c 2009-10-09 17:37:49.000000000 +0100 +++ x11-utils-7.4+2.new/xev/xev.c 2009-10-09 17:33:41.000000000 +0100 @@ -745,6 +745,7 @@ XIMStyle xim_style = 0; char *modifiers; char *imvalret; + XWMHints input_hints = { .input = True, .flags = InputHint }; ProgramName = argv[0]; @@ -893,6 +894,8 @@ InputOutput, (Visual *)CopyFromParent, mask, &attr); + XSetWMHints(dpy, w, &input_hints); + XSetStandardProperties (dpy, w, name, NULL, (Pixmap) 0, argv, argc, &hints);