Skip to content

Commit

Permalink
All functions in alphabetical order except for this one.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Drelich authored and hiltjo committed Mar 14, 2018
1 parent 3cb3483 commit 76c8c16
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -1984,6 +1984,14 @@ updatesizehints(Client *c)
c->isfixed = (c->maxw && c->maxh && c->maxw == c->minw && c->maxh == c->minh);
}

void
updatestatus(void)
{
if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
strcpy(stext, "dwm-"VERSION);
drawbar(selmon);
}

void
updatetitle(Client *c)
{
Expand All @@ -1993,14 +2001,6 @@ updatetitle(Client *c)
strcpy(c->name, broken);
}

void
updatestatus(void)
{
if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
strcpy(stext, "dwm-"VERSION);
drawbar(selmon);
}

void
updatewindowtype(Client *c)
{
Expand Down

0 comments on commit 76c8c16

Please sign in to comment.