clang-format

This commit is contained in:
buffet 2020-01-08 17:33:15 +00:00
parent 5dc2c62d89
commit 6d84fbe1c5
2 changed files with 10 additions and 6 deletions

View file

@ -77,7 +77,10 @@ xdg_shell_view_set_activated(struct kiwmi_view *view, bool activated)
}
static void
xdg_shell_view_set_size(struct kiwmi_view *view, uint32_t width, uint32_t height)
xdg_shell_view_set_size(
struct kiwmi_view *view,
uint32_t width,
uint32_t height)
{
wlr_xdg_toplevel_set_size(view->xdg_surface, width, height);
}

View file

@ -125,7 +125,8 @@ l_kiwmi_view_tiled(lua_State *L)
enum wlr_edges edges = WLR_EDGE_NONE;
if (lua_toboolean(L, 2)) {
edges = WLR_EDGE_TOP | WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | WLR_EDGE_RIGHT;
edges =
WLR_EDGE_TOP | WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | WLR_EDGE_RIGHT;
}
view_set_tiled(view, edges);