Apply clang-format

This commit is contained in:
project-repo 2021-06-23 20:58:42 +02:00
commit e4ebc1e292
2 changed files with 6 additions and 4 deletions

View file

@ -117,8 +117,8 @@ message_set_output(struct cg_output *output, const char *string,
message->position = box;
wl_list_insert(&output->messages, &message->link);
int width=message->message->width;
int height=message->message->height;
int width = message->message->width;
int height = message->message->height;
message->position->width = width;
message->position->height = height;
switch(align) {

6
view.c
View file

@ -337,11 +337,13 @@ view_map(struct cg_view *view, struct wlr_surface *surface,
view->wlr_surface = surface;
struct wlr_subsurface *subsurface;
wl_list_for_each(subsurface, &view->wlr_surface->subsurfaces_above, parent_link) {
wl_list_for_each(subsurface, &view->wlr_surface->subsurfaces_above,
parent_link) {
subsurface_create(NULL, view, subsurface);
}
wl_list_for_each(subsurface, &view->wlr_surface->subsurfaces_below, parent_link) {
wl_list_for_each(subsurface, &view->wlr_surface->subsurfaces_below,
parent_link) {
subsurface_create(NULL, view, subsurface);
}