mirror of
https://github.com/0intro/wmii
synced 2025-02-08 18:34:43 +03:00
Bigger target area for border resizals. Fix to rc.wmii.
This commit is contained in:
parent
204f3e1e45
commit
6d8c5fe003
9
frame.c
9
frame.c
@ -239,12 +239,13 @@ draw_frame(Frame *f) {
|
||||
br.border = 1;
|
||||
br.rect.width += br.rect.x;
|
||||
br.rect.x = 0;
|
||||
f->titlebar.x = br.rect.x + 1;
|
||||
f->titlebar.height = br.rect.height - 1;
|
||||
f->titlebar.y = br.rect.y + 1;
|
||||
f->titlebar.width = br.rect.width - 2;
|
||||
f->titlebar.x = br.rect.x + 3;
|
||||
f->titlebar.height = br.rect.height - 3;
|
||||
f->titlebar.y = br.rect.y + 3;
|
||||
f->titlebar.width = br.rect.width - 6;
|
||||
draw_border(&br);
|
||||
br.rect.height = f->rect.height;
|
||||
if(def.border)
|
||||
draw_border(&br);
|
||||
|
||||
if(f->client->urgent)
|
||||
|
@ -167,6 +167,7 @@ fn Key-$MODKEY-Shift-c {
|
||||
}
|
||||
fn Key-$MODKEY-Shift-t {
|
||||
wmiir xwrite /client/`{wmiir read /client/sel/ctl}^/tags `{read_tags | wmiimenu} &
|
||||
}
|
||||
|
||||
for(i in `{seq 0 9}) {
|
||||
fn Key-$MODKEY-$i {
|
||||
|
Loading…
x
Reference in New Issue
Block a user