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.
This commit is contained in:
okan
2014-02-03 20:20:39 +00:00
parent ad76995af7
commit ad96c16838
4 changed files with 17 additions and 15 deletions

View File

@@ -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 *);