summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorChristopher Drelich <cd@cdrakka.com>2018-03-14 13:58:06 -0400
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-14 21:02:06 +0100
commit76c8c16d79d4fd2a3e776800637d211e4dc8e50a (patch)
tree0290cf1322ed44fe43fa63a87869812212b9776a /dwm.c
parentColBorder has been moved to the enum with ColFg and ColBg. (diff)
downloaddwm-76c8c16d79d4fd2a3e776800637d211e4dc8e50a.tar.gz
dwm-76c8c16d79d4fd2a3e776800637d211e4dc8e50a.zip
All functions in alphabetical order except for this one.
Diffstat (limited to '')
-rw-r--r--dwm.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/dwm.c b/dwm.c
index ab16c75..c98678d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -223,8 +223,8 @@ static void updateclientlist(void);
223static void updatenumlockmask(void); 223static void updatenumlockmask(void);
224static void updatesizehints(Client *c); 224static void updatesizehints(Client *c);
225static void updatestatus(void); 225static void updatestatus(void);
226static void updatewindowtype(Client *c);
227static void updatetitle(Client *c); 226static void updatetitle(Client *c);
227static void updatewindowtype(Client *c);
228static void updatewmhints(Client *c); 228static void updatewmhints(Client *c);
229static void view(const Arg *arg); 229static void view(const Arg *arg);
230static Client *wintoclient(Window w); 230static Client *wintoclient(Window w);
@@ -1985,6 +1985,14 @@ updatesizehints(Client *c)
1985} 1985}
1986 1986
1987void 1987void
1988updatestatus(void)
1989{
1990 if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
1991 strcpy(stext, "dwm-"VERSION);
1992 drawbar(selmon);
1993}
1994
1995void
1988updatetitle(Client *c) 1996updatetitle(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
1996void 2004void
1997updatestatus(void)
1998{
1999 if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
2000 strcpy(stext, "dwm-"VERSION);
2001 drawbar(selmon);
2002}
2003
2004void
2005updatewindowtype(Client *c) 2005updatewindowtype(Client *c)
2006{ 2006{
2007 Atom state = getatomprop(c, netatom[NetWMState]); 2007 Atom state = getatomprop(c, netatom[NetWMState]);