aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2014-02-03 20:20:39 +0000
committerokan2014-02-03 20:20:39 +0000
commit0591be5c2b59055e9d6b193f634e9bc16bd1e999 (patch)
tree403655c8534ddc003bbe2b6d16085ddc2a91471e /calmwm.h
parentf21abfc55cc09949eb90c5fa93a629d04b204a6a (diff)
downloadcwm-0591be5c2b59055e9d6b193f634e9bc16bd1e999.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
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 *);