Make function names camelCase

This conforms with the zig style guidelines:
https://ziglang.org/documentation/master/#Style-Guide
This commit is contained in:
Isaac Freund
2020-03-24 21:13:56 +01:00
parent 46fe1baa96
commit aaecef8c5c
6 changed files with 43 additions and 43 deletions

View File

@ -176,7 +176,7 @@ pub const Server = struct {
pub fn desktop_view_at(self: *Self, lx: f64, ly: f64, surface: *?*c.wlr_surface, sx: *f64, sy: *f64) ?*View {
var it = self.views.last;
while (it) |node| : (it = node.prev) {
if (node.data.is_at(lx, ly, surface, sx, sy)) {
if (node.data.isAt(lx, ly, surface, sx, sy)) {
return &node.data;
}
}