Change global variable to local.

This commit is contained in:
Reginald Kennedy 2013-04-30 01:45:12 +08:00
parent 3c35ef5d7c
commit 519aa00149

View file

@ -1989,12 +1989,12 @@ bar_window_name(char *s, size_t sz, struct swm_region *r)
free(title);
}
int urgent[SWM_WS_MAX];
void
bar_urgent(char *s, size_t sz)
{
struct ws_win *win;
int i, j, num_screens;
int urgent[SWM_WS_MAX];
char b[8];
xcb_get_property_cookie_t c;
xcb_icccm_wm_hints_t hints;