summaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-08-02 09:05:46 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-08-02 09:05:46 -0400
commit9aa258d33a9baa42895214da7e82f4568fcb8f76 (patch)
tree229419214ed67a2e4237b36cf0d1185f1406dad1 /sway/desktop/xdg_shell_v6.c
parentMerge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused (diff)
downloadsway-9aa258d33a9baa42895214da7e82f4568fcb8f76.tar.gz
sway-9aa258d33a9baa42895214da7e82f4568fcb8f76.tar.zst
sway-9aa258d33a9baa42895214da7e82f4568fcb8f76.zip
Revert "Fix popups"
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c10
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
178static 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
187static void _close(struct sway_view *view) { 178static 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,