forked from external/yambar
wayland: silence compiler warning
... by ensuring 'layer' is always initialized, to _something_.
This commit is contained in:
parent
b85ba99980
commit
3c572c70c9
1 changed files with 1 additions and 1 deletions
|
@ -765,7 +765,7 @@ create_surface(struct wayland_backend *backend)
|
||||||
|
|
||||||
wl_surface_add_listener(backend->surface, &surface_listener, backend);
|
wl_surface_add_listener(backend->surface, &surface_listener, backend);
|
||||||
|
|
||||||
enum zwlr_layer_shell_v1_layer layer;
|
enum zwlr_layer_shell_v1_layer layer = ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM;
|
||||||
|
|
||||||
switch (bar->layer) {
|
switch (bar->layer) {
|
||||||
case BAR_LAYER_BACKGROUND:
|
case BAR_LAYER_BACKGROUND:
|
||||||
|
|
Loading…
Add table
Reference in a new issue