diff options
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r-- | sway/desktop/render.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index c2a0d29f..765317db 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c | |||
@@ -962,14 +962,10 @@ void output_render(struct sway_output *output, struct timespec *when, | |||
962 | fullscreen_con->current.focused); | 962 | fullscreen_con->current.focused); |
963 | } | 963 | } |
964 | 964 | ||
965 | if (config->popup_during_fullscreen == POPUP_SMART && | 965 | for (int i = 0; i < workspace->floating->length; ++i) { |
966 | fullscreen_con->view) { | 966 | struct sway_container *floater = workspace->floating->items[i]; |
967 | for (int i = 0; i < workspace->floating->length; ++i) { | 967 | if (container_is_transient_for(floater, fullscreen_con)) { |
968 | struct sway_container *floater = workspace->floating->items[i]; | 968 | render_floating_container(output, damage, floater); |
969 | if (floater->view && view_is_transient_for( | ||
970 | floater->view, fullscreen_con->view)) { | ||
971 | render_floating_container(output, damage, floater); | ||
972 | } | ||
973 | } | 969 | } |
974 | } | 970 | } |
975 | #ifdef HAVE_XWAYLAND | 971 | #ifdef HAVE_XWAYLAND |