mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
Redraw view on writes to /ctl (focuscolors, border, font)
This commit is contained in:
parent
f6a4b6b876
commit
a7a3303cb8
2
event.c
2
event.c
@ -266,7 +266,7 @@ focusout(XEvent *e) {
|
||||
return;
|
||||
}
|
||||
if(screen->focus == c)
|
||||
screen->focus = nil;
|
||||
screen->focus = &c_magic;
|
||||
update_client_grab(c);
|
||||
if(c->sel)
|
||||
draw_frame(c->sel);
|
||||
|
2
fs.c
2
fs.c
@ -770,6 +770,8 @@ fs_write(P9Req *r) {
|
||||
errstr = message_root(toks[i]);
|
||||
}
|
||||
}
|
||||
if(screen->sel)
|
||||
focus_view(screen, screen->sel);
|
||||
if(errstr) {
|
||||
respond(r, errstr);
|
||||
return;
|
||||
|
@ -226,8 +226,8 @@ fn initkeys {
|
||||
initkeys
|
||||
|
||||
# Tag Bar
|
||||
ifs='
|
||||
' {
|
||||
ifs='#
|
||||
'{
|
||||
for(bar in `{wmiir ls /lbar})
|
||||
wmiir remove /lbar/$bar
|
||||
seltag=`{wmiir read /tag/sel/ctl}
|
||||
|
Loading…
Reference in New Issue
Block a user