mirror of
https://github.com/0intro/wmii
synced 2025-03-14 02:33:15 +03:00
simplified assign_sel_view
This commit is contained in:
parent
fd122b4a05
commit
91b4c6048c
@ -51,10 +51,8 @@ assign_sel_view(View *v)
|
||||
snprintf(buf, sizeof(buf), "UnfocusTag %s\n", view.data[sel]->name);
|
||||
write_event(buf);
|
||||
}
|
||||
if(i != sel) {
|
||||
snprintf(buf, sizeof(buf), "FocusTag %s\n", v->name);
|
||||
write_event(buf);
|
||||
}
|
||||
snprintf(buf, sizeof(buf), "FocusTag %s\n", v->name);
|
||||
write_event(buf);
|
||||
sel = i;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user