Redraw view on writes to /ctl (focuscolors, border, font)

This commit is contained in:
Kris Maglione 2007-02-23 01:53:08 -05:00
parent f6a4b6b876
commit a7a3303cb8
3 changed files with 5 additions and 3 deletions

View File

@ -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
View File

@ -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;

View File

@ -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}