summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2014-02-03 20:20:39 +0000
committerokan <okan>2014-02-03 20:20:39 +0000
commitad96c168386aced17e3fa4859dad1e1e2d80bb57 (patch)
treea559609931d906f63e721bc0c8b1901de7ee47bf /calmwm.h
parentad76995af7e1bbae8ec81dd917def917453c379b (diff)
downloadcwm-ad96c168386aced17e3fa4859dad1e1e2d80bb57.tar.gz
cwm-ad96c168386aced17e3fa4859dad1e1e2d80bb57.tar.xz
cwm-ad96c168386aced17e3fa4859dad1e1e2d80bb57.zip
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.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index aa77bc0..9d81cf5 100644
--- a/calmwm.h
+++ b/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 *);