View: implement borders with scene graph

This commit is contained in:
Isaac Freund
2023-02-01 22:30:17 +01:00
parent f4a8d6dcc9
commit a545a06c5b
4 changed files with 56 additions and 12 deletions

View File

@ -455,11 +455,8 @@ fn commitTransaction(self: *Self) void {
if (view.pending.tags != view.current.tags) view_tags_changed = true;
if (view.pending.urgent != view.current.urgent) urgent_tags_dirty = true;
if (view.pending.urgent and view_tags_changed) urgent_tags_dirty = true;
view.current = view.pending;
view.tree.node.setPosition(view.current.box.x, view.current.box.y);
view.dropSavedBuffers();
view.updateCurrent();
}
if (view_tags_changed) output.sendViewTags();