diff options
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/client.c b/src/client.c index df66b5b..1a293e3 100644 --- a/src/client.c +++ b/src/client.c @@ -135,7 +135,9 @@ LoadFocus() } /** Add a window to management. */ -ClientNode *AddClientWindow(Window w, int alreadyMapped, int notOwner) { +ClientNode * +AddClientWindow(Window w, int alreadyMapped, int notOwner) +{ XWindowAttributes attr; ClientNode *np; @@ -1279,14 +1281,18 @@ RemoveClient(ClientNode *np) } /** Get the active client (possibly NULL). */ -ClientNode *GetActiveClient() { +ClientNode * +GetActiveClient() +{ return activeClient; } /** Find a client given a window (searches frame windows too). */ -ClientNode *FindClientByWindow(Window w) { +ClientNode * +FindClientByWindow(Window w) +{ ClientNode *np; @@ -1299,7 +1305,9 @@ ClientNode *FindClientByWindow(Window w) { } /** Find a client by its frame window. */ -ClientNode *FindClientByParent(Window p) { +ClientNode * +FindClientByParent(Window p) +{ ClientNode *np; |