diff --git a/kiwmi/desktop/xdg_shell.c b/kiwmi/desktop/xdg_shell.c index 6a4814a..2b428ac 100644 --- a/kiwmi/desktop/xdg_shell.c +++ b/kiwmi/desktop/xdg_shell.c @@ -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); } diff --git a/kiwmi/luak/kiwmi_view.c b/kiwmi/luak/kiwmi_view.c index 4879ad1..8a8ba23 100644 --- a/kiwmi/luak/kiwmi_view.c +++ b/kiwmi/luak/kiwmi_view.c @@ -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); @@ -147,16 +148,16 @@ l_kiwmi_view_tiled(lua_State *L) switch (edge[0]) { case 't': - edges |= WLR_EDGE_TOP; + edges |= WLR_EDGE_TOP; break; case 'b': - edges |= WLR_EDGE_BOTTOM; + edges |= WLR_EDGE_BOTTOM; break; case 'l': - edges |= WLR_EDGE_LEFT; + edges |= WLR_EDGE_LEFT; break; case 'r': - edges |= WLR_EDGE_RIGHT; + edges |= WLR_EDGE_RIGHT; break; }