Remove src/common/log.c

Use wlr_log() instead
This commit is contained in:
Johan Malm 2021-07-23 21:15:55 +01:00
parent 20fd8f59a7
commit 82e47ac1f5
20 changed files with 28 additions and 65 deletions

View file

@ -12,6 +12,7 @@
#include <string.h>
#include <wayland-server.h>
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/util/log.h>
#include "layers.h"
#include "labwc.h"
@ -149,7 +150,7 @@ arrange_layer(struct wlr_output *output, struct wl_list *list,
box.y -= state->margin.bottom;
}
if (box.width < 0 || box.height < 0) {
warn("protocol error");
wlr_log(WLR_ERROR, "protocol error");
wlr_layer_surface_v1_close(layer);
continue;
}