diff options
author | Simon Ser <contact@emersion.fr> | 2023-01-18 16:48:19 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-01-18 16:48:38 +0100 |
commit | d5b69d5912a5e12893ad6007f5a3bfe0bc6e047e (patch) | |
tree | 33950c223820459af9daf403eb6b059dc9c5e079 /sway/input/cursor.c | |
parent | Send wl_surface.enter for ext-session-lock surfaces (diff) | |
download | sway-d5b69d5912a5e12893ad6007f5a3bfe0bc6e047e.tar.gz sway-d5b69d5912a5e12893ad6007f5a3bfe0bc6e047e.tar.zst sway-d5b69d5912a5e12893ad6007f5a3bfe0bc6e047e.zip |
Fix indentation in surface_is_xdg_popup()
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 12 |
1 files changed, 6 insertions, 6 deletions
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, | |||
53 | } | 53 | } |
54 | 54 | ||
55 | static bool surface_is_xdg_popup(struct wlr_surface *surface) { | 55 | static bool surface_is_xdg_popup(struct wlr_surface *surface) { |
56 | if (wlr_surface_is_xdg_surface(surface)) { | 56 | if (wlr_surface_is_xdg_surface(surface)) { |
57 | struct wlr_xdg_surface *xdg_surface = | 57 | struct wlr_xdg_surface *xdg_surface = |
58 | wlr_xdg_surface_from_wlr_surface(surface); | 58 | wlr_xdg_surface_from_wlr_surface(surface); |
59 | return xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP; | 59 | return xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP; |
60 | } | 60 | } |
61 | return false; | 61 | return false; |
62 | } | 62 | } |
63 | 63 | ||
64 | static struct wlr_surface *layer_surface_popup_at(struct sway_output *output, | 64 | static struct wlr_surface *layer_surface_popup_at(struct sway_output *output, |