diff options
| author | Dominique Martinet <asmadeus@codewreck.org> | 2018-04-16 17:53:42 +0900 | 
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-04-16 17:53:42 +0900 | 
| commit | 86f6e57bfe46e4a06177ed673410288f2330d1cc (patch) | |
| tree | 4c38d8d3a7e570daee75d6bdb297855dab9f25d4 /lib/renderers | |
| parent | 91bf9b4d14bcf135809a7fd381ebaf7986042f47 (diff) | |
| download | bemenu-86f6e57bfe46e4a06177ed673410288f2330d1cc.tar.gz bemenu-86f6e57bfe46e4a06177ed673410288f2330d1cc.tar.bz2 bemenu-86f6e57bfe46e4a06177ed673410288f2330d1cc.zip | |
wayland renderer: fix indentation
Diffstat (limited to 'lib/renderers')
| -rw-r--r-- | lib/renderers/wayland/wayland.c | 20 | 
1 files changed, 10 insertions, 10 deletions
| diff --git a/lib/renderers/wayland/wayland.c b/lib/renderers/wayland/wayland.c index cebba45..69ca230 100644 --- a/lib/renderers/wayland/wayland.c +++ b/lib/renderers/wayland/wayland.c @@ -242,16 +242,16 @@ constructor(struct bm_menu *menu)      struct output *output;      wl_list_for_each(output, &wayland->outputs, link) { -	struct wl_surface *surface; -	if (!(surface = wl_compositor_create_surface(wayland->compositor))) -	    goto fail; -	struct window *window = calloc(1, sizeof(struct window)); -	window->bottom = menu->bottom; -	if (!bm_wl_window_create(window, wayland->display, wayland->shm, output->output, wayland->layer_shell, surface)) -	    goto fail; -	window->notify.render = bm_cairo_paint; -	window->max_height = output->height; -	wl_list_insert(&wayland->windows, &window->link); +        struct wl_surface *surface; +        if (!(surface = wl_compositor_create_surface(wayland->compositor))) +            goto fail; +        struct window *window = calloc(1, sizeof(struct window)); +        window->bottom = menu->bottom; +        if (!bm_wl_window_create(window, wayland->display, wayland->shm, output->output, wayland->layer_shell, surface)) +            goto fail; +        window->notify.render = bm_cairo_paint; +        window->max_height = output->height; +        wl_list_insert(&wayland->windows, &window->link);      }      if (!efd && (efd = epoll_create(EPOLL_CLOEXEC)) < 0) | 
