mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
s/wl_list_insert(list.prev...)/wl_list_append(list...)/
This commit is contained in:
parent
042af48925
commit
89ad0b808f
11 changed files with 32 additions and 31 deletions
|
|
@ -14,6 +14,7 @@
|
|||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_layer_shell_v1.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include "common/list.h"
|
||||
#include "common/mem.h"
|
||||
#include "layers.h"
|
||||
#include "labwc.h"
|
||||
|
|
@ -366,7 +367,7 @@ new_layer_surface_notify(struct wl_listener *listener, void *data)
|
|||
return;
|
||||
}
|
||||
|
||||
wl_list_insert(output->layers[layer_surface->pending.layer].prev,
|
||||
wl_list_append(&output->layers[layer_surface->pending.layer],
|
||||
&surface->link);
|
||||
/*
|
||||
* Temporarily set the layer's current state to pending so that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue