diff --git a/src/funcs.h b/src/funcs.h index e827504d..48fd5b3c 100644 --- a/src/funcs.h +++ b/src/funcs.h @@ -111,7 +111,6 @@ Bool wGetIconName(Display *dpy, Window win, char **iconname); /* Free returned string it when done. (applies to the next 2 functions) */ char * GetCommandForWindow(Window win); -char * GetProgramNameForWindow(Window win); Bool GetCommandForPid(int pid, char ***argv, int *argc); diff --git a/src/misc.c b/src/misc.c index fd283c28..389ad00c 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1094,9 +1094,3 @@ char *GetCommandForWindow(Window win) { return getCommandForWindow(win, 0); } - -/* Free result when done */ -char *GetProgramNameForWindow(Window win) -{ - return getCommandForWindow(win, 1); -}