diff options
author | Christopher Drelich | 2018-03-14 13:58:06 -0400 |
---|---|---|
committer | Hiltjo Posthuma | 2018-03-14 21:02:06 +0100 |
commit | 9aef64b3e04b3566d1f33706450ffe225dcc53e7 (patch) | |
tree | 514395de1027a4d5c7dde1f138e5e5ab803e3340 | |
parent | a2f669b42c28faa8122f6b70608edfd13373da6c (diff) | |
download | aur-9aef64b3e04b3566d1f33706450ffe225dcc53e7.tar.gz |
All functions in alphabetical order except for this one.
-rw-r--r-- | dwm.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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); @@ -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)) @@ -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]); |