commit - f428f3e01a4ced5b1df07ddf913bb022692f8035
commit + 64ab2801fbbbcc028c359080ae4bd546fc871f67
blob - d605ab494dbf8d5e6ed47041a66fbfb950d8cdfe
blob + 85e50605c09cd15a1e90180928ea1da7af8feee4
--- dmenu.c
+++ dmenu.c
XIM xim;
Window w, dw, *dws;
XWindowAttributes wa;
+ XClassHint ch = {"dmenu", "dmenu"};
#ifdef XINERAMA
XineramaScreenInfo *info;
Window pw;
win = XCreateWindow(dpy, parentwin, x, y, mw, mh, 0,
CopyFromParent, CopyFromParent, CopyFromParent,
CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
+ XSetClassHint(dpy, win, &ch);
/* open input methods */
xim = XOpenIM(dpy, NULL, NULL, NULL);