Fix window manager hint.

This commit is contained in:
Jeff Teunissen 2000-11-09 00:56:43 +00:00
parent 352740a194
commit ea2b747c73

View file

@ -344,8 +344,8 @@ x11_create_window (int width, int height)
if (ClassHint) {
resname = strrchr (com_argv[0], '/');
ClassHint->res_name = (resname ? resname + 1 : resname);
ClassHint->res_class = PROGRAM;
ClassHint->res_name = (resname ? resname + 1 : com_argv[0]);
ClassHint->res_class = PACKAGE;
XSetClassHint (x_disp, x_win, ClassHint);
XFree (ClassHint);
}