mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Revert "Revert "Fix popups""
This reverts commit 9aa258d33a.
Reverting the revert, so that popups can be fixed.
This commit is contained in:
parent
ea14ef4095
commit
8392eae40f
10 changed files with 197 additions and 55 deletions
|
|
@ -339,6 +339,16 @@ void view_for_each_surface(struct sway_view *view,
|
|||
}
|
||||
}
|
||||
|
||||
void view_for_each_popup(struct sway_view *view,
|
||||
wlr_surface_iterator_func_t iterator, void *user_data) {
|
||||
if (!view->surface) {
|
||||
return;
|
||||
}
|
||||
if (view->impl->for_each_popup) {
|
||||
view->impl->for_each_popup(view, iterator, user_data);
|
||||
}
|
||||
}
|
||||
|
||||
static void view_subsurface_create(struct sway_view *view,
|
||||
struct wlr_subsurface *subsurface);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue