this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

vxfw: use correct root window size

We previously passed the root window to the root surface, however the
root surface could actually be smaller than the root window. This can
lead to confusing rendering because it was possible for children to be
rendered outside of their parent

+5 -1
+5 -1
src/vxfw/App.zig
··· 165 165 const surface = try widget.draw(draw_context); 166 166 167 167 const focused = self.wants_focus orelse focus_handler.focused.widget; 168 - surface.render(win, focused); 168 + const root_win = win.child(.{ 169 + .width = surface.size.width, 170 + .height = surface.size.height, 171 + }); 172 + surface.render(root_win, focused); 169 173 try vx.render(buffered.writer().any()); 170 174 try buffered.flush(); 171 175