diff options
| author | Christopher Drelich <cd@cdrakka.com> | 2018-03-14 13:58:06 -0400 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-14 21:02:06 +0100 |
| commit | 76c8c16d79d4fd2a3e776800637d211e4dc8e50a (patch) | |
| tree | 0290cf1322ed44fe43fa63a87869812212b9776a | |
| parent | ColBorder has been moved to the enum with ColFg and ColBg. (diff) | |
| download | dwm-76c8c16d79d4fd2a3e776800637d211e4dc8e50a.tar.gz dwm-76c8c16d79d4fd2a3e776800637d211e4dc8e50a.zip | |
All functions in alphabetical order except for this one.
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -223,8 +223,8 @@ static void updateclientlist(void); | |||
| 223 | static void updatenumlockmask(void); | 223 | static void updatenumlockmask(void); |
| 224 | static void updatesizehints(Client *c); | 224 | static void updatesizehints(Client *c); |
| 225 | static void updatestatus(void); | 225 | static void updatestatus(void); |
| 226 | static void updatewindowtype(Client *c); | ||
| 227 | static void updatetitle(Client *c); | 226 | static void updatetitle(Client *c); |
| 227 | static void updatewindowtype(Client *c); | ||
| 228 | static void updatewmhints(Client *c); | 228 | static void updatewmhints(Client *c); |
| 229 | static void view(const Arg *arg); | 229 | static void view(const Arg *arg); |
| 230 | static Client *wintoclient(Window w); | 230 | static Client *wintoclient(Window w); |
| @@ -1985,6 +1985,14 @@ updatesizehints(Client *c) | |||
| 1985 | } | 1985 | } |
| 1986 | 1986 | ||
| 1987 | void | 1987 | void |
| 1988 | updatestatus(void) | ||
| 1989 | { | ||
| 1990 | if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext))) | ||
| 1991 | strcpy(stext, "dwm-"VERSION); | ||
| 1992 | drawbar(selmon); | ||
| 1993 | } | ||
| 1994 | |||
| 1995 | void | ||
| 1988 | updatetitle(Client *c) | 1996 | updatetitle(Client *c) |
| 1989 | { | 1997 | { |
| 1990 | if (!gettextprop(c->win, netatom[NetWMName], c->name, sizeof c->name)) | 1998 | if (!gettextprop(c->win, netatom[NetWMName], c->name, sizeof c->name)) |
| @@ -1994,14 +2002,6 @@ updatetitle(Client *c) | |||
| 1994 | } | 2002 | } |
| 1995 | 2003 | ||
| 1996 | void | 2004 | void |
| 1997 | updatestatus(void) | ||
| 1998 | { | ||
| 1999 | if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext))) | ||
| 2000 | strcpy(stext, "dwm-"VERSION); | ||
| 2001 | drawbar(selmon); | ||
| 2002 | } | ||
| 2003 | |||
| 2004 | void | ||
| 2005 | updatewindowtype(Client *c) | 2005 | updatewindowtype(Client *c) |
| 2006 | { | 2006 | { |
| 2007 | Atom state = getatomprop(c, netatom[NetWMState]); | 2007 | Atom state = getatomprop(c, netatom[NetWMState]); |
