mirror of
https://github.com/NickHu/sway
synced 2024-12-26 21:58:30 +01:00
Fix indentation in surface_is_xdg_popup()
This commit is contained in:
parent
284966fd57
commit
d5b69d5912
1 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue