mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Apply clang-format
This commit is contained in:
parent
d57869d43a
commit
e4ebc1e292
2 changed files with 6 additions and 4 deletions
|
|
@ -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
6
view.c
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue