aboutsummaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-25 15:16:22 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-25 15:16:22 +0200
commit48aac8801df86e743f5890a3cdc4882d0af89a4e (patch)
treefbef1606ce6784a8811bc10326218dcd3183e85d /src/client.c
parent0a1fe85b05749c9d1bb23142f4f9874ec716426b (diff)
downloadjwm-48aac8801df86e743f5890a3cdc4882d0af89a4e.tar.gz
Convert remaining function definitions
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c16
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;