From af10f6f8cd060e1ead285bb5cac334c2b7c7b514 Mon Sep 17 00:00:00 2001 From: fwsmit Date: Mon, 21 Dec 2020 18:25:14 +0100 Subject: [PATCH] Fix indent --- src/wayland/wl.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/wayland/wl.c b/src/wayland/wl.c index 893c79e..eab7f79 100644 --- a/src/wayland/wl.c +++ b/src/wayland/wl.c @@ -62,10 +62,10 @@ struct wl_ctx { bool is_idle; bool has_idle_monitor; - struct { - struct wl_pointer *wl_pointer; - int32_t x, y; - } pointer; + struct { + struct wl_pointer *wl_pointer; + int32_t x, y; + } pointer; struct dimensions cur_dim; @@ -389,8 +389,7 @@ bool init_wayland() { } if (ctx.seat == NULL) { LOG_W("no seat was found, so dunst cannot see input"); - } - else { + } else { // pointer may not be detected yet /* if (ctx.pointer.wl_pointer == NULL) { */ /* LOG_W("no pointer was found, so dunst cannot see input"); */