mirror of
https://github.com/0intro/wmii
synced 2025-02-10 19:34:37 +03:00
dropping leading whitespaces in match_rule for tags
This commit is contained in:
parent
31a948f5e3
commit
7a9bb1d415
@ -153,6 +153,8 @@ handle_configurerequest(XEvent *e)
|
||||
wc.border_width = 1;
|
||||
wc.sibling = None;
|
||||
wc.stack_mode = ev->detail;
|
||||
if(f->area->tag != tag[sel])
|
||||
f->rect.x += 2 * rect.width;
|
||||
XConfigureWindow(dpy, c->framewin, ev->value_mask, &wc);
|
||||
configure_client(c);
|
||||
}
|
||||
|
@ -77,6 +77,8 @@ parse(char *data, unsigned int *n)
|
||||
i++;
|
||||
}
|
||||
else {
|
||||
if(!strlen(tags) && (*p == ' ' || *p == '\t'))
|
||||
continue; /* skip prefixed whitespaces */
|
||||
*tags = *p;
|
||||
tags++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user