diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index b364663d..9d6b27e5 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -179,14 +179,6 @@ static void for_each_surface(struct sway_view *view, | |||
179 | user_data); | 179 | user_data); |
180 | } | 180 | } |
181 | 181 | ||
182 | static void for_each_popup(struct sway_view *view, | ||
183 | wlr_surface_iterator_func_t iterator, void *user_data) { | ||
184 | if (xdg_shell_view_from_view(view) == NULL) { | ||
185 | return; | ||
186 | } | ||
187 | wlr_xdg_surface_for_each_popup(view->wlr_xdg_surface, iterator, user_data); | ||
188 | } | ||
189 | |||
190 | static void _close(struct sway_view *view) { | 182 | static void _close(struct sway_view *view) { |
191 | if (xdg_shell_view_from_view(view) == NULL) { | 183 | if (xdg_shell_view_from_view(view) == NULL) { |
192 | return; | 184 | return; |
@@ -227,7 +219,6 @@ static const struct sway_view_impl view_impl = { | |||
227 | .set_fullscreen = set_fullscreen, | 219 | .set_fullscreen = set_fullscreen, |
228 | .wants_floating = wants_floating, | 220 | .wants_floating = wants_floating, |
229 | .for_each_surface = for_each_surface, | 221 | .for_each_surface = for_each_surface, |
230 | .for_each_popup = for_each_popup, | ||
231 | .close = _close, | 222 | .close = _close, |
232 | .close_popups = close_popups, | 223 | .close_popups = close_popups, |
233 | .destroy = destroy, | 224 | .destroy = destroy, |