diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-20 00:23:25 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-20 00:24:21 +0200 |
| commit | f0c4faf10bcf15cab9685045e6a19ff478835906 (patch) | |
| tree | ea32ac3a6c4d2c59e00eba7e131f22cdd5abd6b2 /src/view.zig | |
| parent | 1fe00bc38f024ada5ebf792acf5d3623acab134e (diff) | |
| download | river-f0c4faf10bcf15cab9685045e6a19ff478835906.tar.gz river-f0c4faf10bcf15cab9685045e6a19ff478835906.tar.xz | |
Cleanup timespec types
Diffstat (limited to 'src/view.zig')
| -rw-r--r-- | src/view.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view.zig b/src/view.zig index 92af7ec..4a1886e 100644 --- a/src/view.zig +++ b/src/view.zig @@ -100,7 +100,7 @@ pub const View = struct { } pub fn sendFrameDone(self: Self) void { - var now: c.struct_timespec = undefined; + var now: c.timespec = undefined; _ = c.clock_gettime(c.CLOCK_MONOTONIC, &now); c.wlr_surface_send_frame_done(self.wlr_xdg_surface.surface, &now); } |
