[hackers] [dwm] All functions in alphabetical order except for this one. || Christopher Drelich

From: <git_AT_suckless.org>
Date: Wed, 14 Mar 2018 21:03:48 +0100 (CET)

commit 76c8c16d79d4fd2a3e776800637d211e4dc8e50a
Author: Christopher Drelich <cd_AT_cdrakka.com>
AuthorDate: Wed Mar 14 13:58:06 2018 -0400
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Wed Mar 14 21:02:06 2018 +0100

    All functions in alphabetical order except for this one.

diff --git a/dwm.c b/dwm.c
index ab16c75..c98678d 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -223,8 +223,8 @@ static void updateclientlist(void);
 static void updatenumlockmask(void);
 static void updatesizehints(Client *c);
 static void updatestatus(void);
-static void updatewindowtype(Client *c);
 static void updatetitle(Client *c);
+static void updatewindowtype(Client *c);
 static void updatewmhints(Client *c);
 static void view(const Arg *arg);
 static Client *wintoclient(Window w);
_AT_@ -1985,6 +1985,14 @@ updatesizehints(Client *c)
 }
 
 void
+updatestatus(void)
+{
+ if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
+ strcpy(stext, "dwm-"VERSION);
+ drawbar(selmon);
+}
+
+void
 updatetitle(Client *c)
 {
         if (!gettextprop(c->win, netatom[NetWMName], c->name, sizeof c->name))
_AT_@ -1994,14 +2002,6 @@ updatetitle(Client *c)
 }
 
 void
-updatestatus(void)
-{
- if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
- strcpy(stext, "dwm-"VERSION);
- drawbar(selmon);
-}
-
-void
 updatewindowtype(Client *c)
 {
         Atom state = getatomprop(c, netatom[NetWMState]);
Received on Wed Mar 14 2018 - 21:03:48 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 14 2018 - 21:12:27 CET