aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell.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.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.c')
-rw-r--r--sway/desktop/xdg_shell.c9
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
182static 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
190static void _close(struct sway_view *view) { 182static 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,