mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 05:21:58 +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