mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
util: Removed argument that is not used
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
1f24970160
commit
452fe4dc89
@@ -81,7 +81,7 @@ static Time getTimestamp(Display * dpy, Window win)
|
|||||||
return ev.xproperty.time;
|
return ev.xproperty.time;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *fetchSelection(Display * dpy, const char *selection, const char *progName)
|
static char *fetchSelection(Display *dpy, const char *selection)
|
||||||
{
|
{
|
||||||
Atom selatom = XInternAtom(dpy, selection, False);
|
Atom selatom = XInternAtom(dpy, selection, False);
|
||||||
Atom clipatom = XInternAtom(dpy, "CLIPBOARD", False);
|
Atom clipatom = XInternAtom(dpy, "CLIPBOARD", False);
|
||||||
@@ -209,7 +209,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (selection_name) {
|
if (selection_name) {
|
||||||
buf = fetchSelection(dpy, selection_name, __progname);
|
buf = fetchSelection(dpy, selection_name);
|
||||||
} else {
|
} else {
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user