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.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.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, |