clang-format
This commit is contained in:
parent
4d66181506
commit
81f2ee43c4
2 changed files with 10 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue