mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-28 23:02:31 +00:00
Fix window manager hint.
This commit is contained in:
parent
352740a194
commit
ea2b747c73
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue