|
|
@ -223,8 +223,8 @@ static void updateclientlist(void);
|
|
|
|
static void updatenumlockmask(void);
|
|
|
|
static void updatenumlockmask(void);
|
|
|
|
static void updatesizehints(Client *c);
|
|
|
|
static void updatesizehints(Client *c);
|
|
|
|
static void updatestatus(void);
|
|
|
|
static void updatestatus(void);
|
|
|
|
static void updatewindowtype(Client *c);
|
|
|
|
|
|
|
|
static void updatetitle(Client *c);
|
|
|
|
static void updatetitle(Client *c);
|
|
|
|
|
|
|
|
static void updatewindowtype(Client *c);
|
|
|
|
static void updatewmhints(Client *c);
|
|
|
|
static void updatewmhints(Client *c);
|
|
|
|
static void view(const Arg *arg);
|
|
|
|
static void view(const Arg *arg);
|
|
|
|
static Client *wintoclient(Window w);
|
|
|
|
static Client *wintoclient(Window w);
|
|
|
@ -1984,6 +1984,14 @@ updatesizehints(Client *c)
|
|
|
|
c->isfixed = (c->maxw && c->maxh && c->maxw == c->minw && c->maxh == c->minh);
|
|
|
|
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
|
|
|
|
void
|
|
|
|
updatetitle(Client *c)
|
|
|
|
updatetitle(Client *c)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1993,14 +2001,6 @@ updatetitle(Client *c)
|
|
|
|
strcpy(c->name, broken);
|
|
|
|
strcpy(c->name, broken);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
|
|
updatestatus(void)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
|
|
|
|
|
|
|
|
strcpy(stext, "dwm-"VERSION);
|
|
|
|
|
|
|
|
drawbar(selmon);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
updatewindowtype(Client *c)
|
|
|
|
updatewindowtype(Client *c)
|
|
|
|
{
|
|
|
|
{
|
|
|
|