From 48aac8801df86e743f5890a3cdc4882d0af89a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 25 Jul 2021 15:16:22 +0200 Subject: Convert remaining function definitions --- src/client.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/client.c') 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; -- cgit v1.2.3