tRemove unused parameter in wm_add_atom() - libwm - X windows manipulation library
(HTM) git clone git://z3bra.org/libwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c05c8910d3e502415906c72a0b9f9758aa452816
(DIR) parent 0400e78958e6c0914203a5a3eca042274020479b
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 5 Jun 2020 11:58:47 +0200
Remove unused parameter in wm_add_atom()
Diffstat:
M libwm.c | 2 +-
M wm.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/libwm.c b/libwm.c
t@@ -177,7 +177,7 @@ wm_get_attribute(xcb_window_t wid, int attr)
}
xcb_atom_t
-wm_add_atom(xcb_atom_t type, char *name, size_t len)
+wm_add_atom(char *name, size_t len)
{
xcb_atom_t atom;
xcb_intern_atom_cookie_t c;
(DIR) diff --git a/wm.h b/wm.h
t@@ -94,7 +94,7 @@ int wm_is_mapped(xcb_window_t wid);
/*
* Request the X server to add a new atom, and return this new atom ID
*/
-xcb_atom_t wm_add_atom(xcb_atom_t type, char *name, size_t len);
+xcb_atom_t wm_add_atom(char *name, size_t len);
/*
* Change the value of the specified atom