]> code.delx.au - spectrwm/commitdiff
Change global variable to local.
authorReginald Kennedy <rk@rejii.com>
Mon, 29 Apr 2013 17:45:12 +0000 (01:45 +0800)
committerReginald Kennedy <rk@rejii.com>
Mon, 29 Apr 2013 17:45:12 +0000 (01:45 +0800)
spectrwm.c

index 5bf74b13a01dd279d7e1c88e74102ed81f796134..93b42444d8c7607ead1ca7a118ff7e9d1696d2d3 100644 (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;