diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-02 09:05:46 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-08-02 09:05:46 -0400 |
commit | 9aa258d33a9baa42895214da7e82f4568fcb8f76 (patch) | |
tree | 229419214ed67a2e4237b36cf0d1185f1406dad1 /sway/desktop/xdg_shell_v6.c | |
parent | Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused (diff) | |
download | sway-9aa258d33a9baa42895214da7e82f4568fcb8f76.tar.gz sway-9aa258d33a9baa42895214da7e82f4568fcb8f76.tar.zst sway-9aa258d33a9baa42895214da7e82f4568fcb8f76.zip |
Revert "Fix popups"
This reverts commit de86d65627e96cffe77f4abf11c4a0b982326ff9.
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index ffea03ad..6e4aae62 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -175,15 +175,6 @@ static void for_each_surface(struct sway_view *view, | |||
175 | user_data); | 175 | user_data); |
176 | } | 176 | } |
177 | 177 | ||
178 | static void for_each_popup(struct sway_view *view, | ||
179 | wlr_surface_iterator_func_t iterator, void *user_data) { | ||
180 | if (xdg_shell_v6_view_from_view(view) == NULL) { | ||
181 | return; | ||
182 | } | ||
183 | wlr_xdg_surface_v6_for_each_popup(view->wlr_xdg_surface_v6, iterator, | ||
184 | user_data); | ||
185 | } | ||
186 | |||
187 | static void _close(struct sway_view *view) { | 178 | static void _close(struct sway_view *view) { |
188 | if (xdg_shell_v6_view_from_view(view) == NULL) { | 179 | if (xdg_shell_v6_view_from_view(view) == NULL) { |
189 | return; | 180 | return; |
@@ -224,7 +215,6 @@ static const struct sway_view_impl view_impl = { | |||
224 | .set_fullscreen = set_fullscreen, | 215 | .set_fullscreen = set_fullscreen, |
225 | .wants_floating = wants_floating, | 216 | .wants_floating = wants_floating, |
226 | .for_each_surface = for_each_surface, | 217 | .for_each_surface = for_each_surface, |
227 | .for_each_popup = for_each_popup, | ||
228 | .close = _close, | 218 | .close = _close, |
229 | .close_popups = close_popups, | 219 | .close_popups = close_popups, |
230 | .destroy = destroy, | 220 | .destroy = destroy, |