From 0591be5c2b59055e9d6b193f634e9bc16bd1e999 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 3 Feb 2014 20:20:39 +0000 Subject: Move redundant bits from screen_init (while dealing with existing clients) directly into client_init, performing the X roundtrip only once. With the previous change in maprequest, this moves decision making into one place for creating new clients. --- calmwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 65e05f6..7646141 100644 --- a/calmwm.h +++ b/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.256 2014/02/02 16:29:04 okan Exp $ + * $OpenBSD: calmwm.h,v 1.257 2014/02/03 20:20:39 okan Exp $ */ #ifndef _CALMWM_H_ @@ -383,7 +383,7 @@ void client_map(struct client_ctx *); void client_maximize(struct client_ctx *); void client_msg(struct client_ctx *, Atom, Time); void client_move(struct client_ctx *); -struct client_ctx *client_init(Window, struct screen_ctx *, int); +struct client_ctx *client_init(Window, struct screen_ctx *); void client_ptrsave(struct client_ctx *); void client_ptrwarp(struct client_ctx *); void client_raise(struct client_ctx *); -- cgit v1.2.3-2-gb3c3