From d5b69d5912a5e12893ad6007f5a3bfe0bc6e047e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 18 Jan 2023 16:48:19 +0100 Subject: Fix indentation in surface_is_xdg_popup() --- sway/input/cursor.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sway/input/cursor.c') diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 243eb42c..498ab4d6 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -53,12 +53,12 @@ static struct wlr_surface *layer_surface_at(struct sway_output *output, } static bool surface_is_xdg_popup(struct wlr_surface *surface) { - if (wlr_surface_is_xdg_surface(surface)) { - struct wlr_xdg_surface *xdg_surface = - wlr_xdg_surface_from_wlr_surface(surface); - return xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP; - } - return false; + if (wlr_surface_is_xdg_surface(surface)) { + struct wlr_xdg_surface *xdg_surface = + wlr_xdg_surface_from_wlr_surface(surface); + return xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP; + } + return false; } static struct wlr_surface *layer_surface_popup_at(struct sway_output *output, -- cgit v1.2.3-54-g00ecf