X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=scrotwm.c;h=2ca9918293a47f5886f931f8dae58fb1df03b38e;hb=4258fd5e786a4b284e09adbcc99c8f97dab39868;hp=595b20781ff6869fbd73e1ef16d4b5c833f005c2;hpb=ef200b93d6cf19a118c7c6b60c9173e202ca61a1;p=spectrwm.git diff --git a/scrotwm.c b/scrotwm.c index 595b207..2ca9918 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -50,7 +50,7 @@ static const char *cvstag = "$scrotwm$"; -#define SWM_VERSION "0.6" +#define SWM_VERSION "0.7" #include #include @@ -2029,9 +2029,10 @@ manage_window(Window id) if (prop && win->transient == 0) { DNPRINTF(SWM_D_PROP, "got property _SWM_WS=%s\n", prop); ws_idx = strtonum(prop, 0, 9, &errstr); - if (errstr) + if (errstr) { DNPRINTF(SWM_D_EVENT, "window idx is %s: %s", errstr, prop); + } ws = &r->s->ws[ws_idx]; } else ws = r->ws;