diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2013-05-11 22:01:08 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2013-05-11 22:01:08 +0000 |
commit | 79a46908a1f979301663f1b9d78f704ae51c83be (patch) | |
tree | 1b9906f4fda5fcb8428e727b31bcb52685cde305 /app | |
parent | d2aafd2f16c30a8d7e1e7210c3d315c81be729d1 (diff) |
new -> init
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/calmwm.h | 4 | ||||
-rw-r--r-- | app/cwm/client.c | 4 | ||||
-rw-r--r-- | app/cwm/screen.c | 4 | ||||
-rw-r--r-- | app/cwm/xevents.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 712dc4b7e..ca9d1584f 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.197 2013/05/11 21:46:27 okan Exp $ + * $OpenBSD: calmwm.h,v 1.198 2013/05/11 22:01:07 okan Exp $ */ #ifndef _CALMWM_H_ @@ -331,7 +331,7 @@ void client_lower(struct client_ctx *); void client_map(struct client_ctx *); void client_maximize(struct client_ctx *); void client_move(struct client_ctx *); -struct client_ctx *client_new(Window, struct screen_ctx *, int); +struct client_ctx *client_init(Window, struct screen_ctx *, int); void client_ptrsave(struct client_ctx *); void client_ptrwarp(struct client_ctx *); void client_raise(struct client_ctx *); diff --git a/app/cwm/client.c b/app/cwm/client.c index bd462453b..e71e22bfb 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.128 2013/05/06 16:03:11 okan Exp $ + * $OpenBSD: client.c,v 1.129 2013/05/11 22:01:07 okan Exp $ */ #include <sys/param.h> @@ -55,7 +55,7 @@ client_find(Window win) } struct client_ctx * -client_new(Window win, struct screen_ctx *sc, int mapped) +client_init(Window win, struct screen_ctx *sc, int mapped) { struct client_ctx *cc; XClassHint xch; diff --git a/app/cwm/screen.c b/app/cwm/screen.c index 51ab021ec..26d902a25 100644 --- a/app/cwm/screen.c +++ b/app/cwm/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.49 2013/05/11 21:46:27 okan Exp $ + * $OpenBSD: screen.c,v 1.50 2013/05/11 22:01:07 okan Exp $ */ #include <sys/param.h> @@ -74,7 +74,7 @@ screen_init(int which) if (winattr.override_redirect || winattr.map_state != IsViewable) continue; - (void)client_new(wins[i], sc, winattr.map_state != IsUnmapped); + (void)client_init(wins[i], sc, winattr.map_state != IsUnmapped); } XFree(wins); diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c index 006e3c291..f9c3f2fdc 100644 --- a/app/cwm/xevents.c +++ b/app/cwm/xevents.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.75 2013/05/10 16:32:48 okan Exp $ + * $OpenBSD: xevents.c,v 1.76 2013/05/11 22:01:07 okan Exp $ */ /* @@ -86,7 +86,7 @@ xev_handle_maprequest(XEvent *ee) if ((cc = client_find(e->window)) == NULL) { XGetWindowAttributes(X_Dpy, e->window, &xattr); - cc = client_new(e->window, screen_fromroot(xattr.root), 1); + cc = client_init(e->window, screen_fromroot(xattr.root), 1); } if ((cc->flags & CLIENT_IGNORE) == 0) |