mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
xwayland.c,xdg-deco.c: fix style
This commit is contained in:
parent
5747ede20d
commit
ff75b4cd26
2 changed files with 4 additions and 5 deletions
|
|
@ -103,9 +103,7 @@ handle_request_configure(struct wl_listener *listener, void *data)
|
|||
view_min_size(view, &min_width, &min_height);
|
||||
|
||||
wlr_xwayland_surface_configure(view->xwayland_surface,
|
||||
event->x,
|
||||
event->y,
|
||||
max(event->width, min_width),
|
||||
event->x, event->y, max(event->width, min_width),
|
||||
max(event->height, min_height));
|
||||
damage_all_outputs(view->server);
|
||||
}
|
||||
|
|
@ -210,7 +208,8 @@ want_deco(struct view *view)
|
|||
}
|
||||
|
||||
static void
|
||||
handle_set_decorations(struct wl_listener *listener, void *data) {
|
||||
handle_set_decorations(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct view *view = wl_container_of(listener, view, set_decorations);
|
||||
view_set_decorations(view, want_deco(view));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue