JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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 5bf74b1..93b4244 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;