aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-30 16:42:12 +0200
committerIsaac Freund <mail@isaacfreund.com>2022-05-30 21:57:12 +0000
commit1feb8edd2177de50579f65f5a28bf8766cce3fbd (patch)
tree8ea024670cafcf06497d1dee1c52520aa3048495
parent17fbf60bd1878ae81f4cfdbe67bed62dea621a63 (diff)
relative-pointer-v1: remove unnecessary log messages
Logging when a client creates or destroys an object is a bit too chatty.
-rw-r--r--types/wlr_relative_pointer_v1.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/types/wlr_relative_pointer_v1.c b/types/wlr_relative_pointer_v1.c
index ddd39974..0a230b60 100644
--- a/types/wlr_relative_pointer_v1.c
+++ b/types/wlr_relative_pointer_v1.c
@@ -48,11 +48,6 @@ static void relative_pointer_v1_handle_resource_destroy(struct wl_resource *reso
static void relative_pointer_v1_handle_destroy(struct wl_client *client,
struct wl_resource *resource) {
- struct wlr_relative_pointer_v1 *relative_pointer =
- wlr_relative_pointer_v1_from_resource(resource);
- wlr_log(WLR_DEBUG, "relative_pointer_v1 %p released by client %p",
- relative_pointer, client);
-
wl_resource_destroy(resource);
}
@@ -75,9 +70,6 @@ static void relative_pointer_handle_pointer_destroy(struct wl_listener *listener
static void relative_pointer_manager_v1_handle_destroy(struct wl_client *client,
struct wl_resource *resource) {
wl_resource_destroy(resource);
-
- wlr_log(WLR_DEBUG, "relative_pointer_v1 manager unbound from client %p",
- client);
}
static void relative_pointer_manager_v1_handle_get_relative_pointer(struct wl_client *client,
@@ -129,9 +121,6 @@ static void relative_pointer_manager_v1_handle_get_relative_pointer(struct wl_cl
wlr_signal_emit_safe(&manager->events.new_relative_pointer,
relative_pointer);
-
- wlr_log(WLR_DEBUG, "relative_pointer_v1 %p created for client %p",
- relative_pointer, client);
}
static void relative_pointer_manager_v1_bind(struct wl_client *wl_client, void *data,