diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index e39ef8db..6d5777f3 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -754,10 +754,7 @@ static void render_container_tabbed(struct sway_output *output, | |||
754 | } | 754 | } |
755 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 755 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
756 | struct sway_container *focus = seat_get_focus(seat); | 756 | struct sway_container *focus = seat_get_focus(seat); |
757 | struct sway_container *current = seat_get_focus_inactive(seat, con); | 757 | struct sway_container *current = seat_get_active_child(seat, con); |
758 | while (current->parent != con) { | ||
759 | current = current->parent; | ||
760 | } | ||
761 | struct border_colors *current_colors = NULL; | 758 | struct border_colors *current_colors = NULL; |
762 | 759 | ||
763 | // Render tabs | 760 | // Render tabs |
@@ -1082,9 +1079,7 @@ static void output_damage_view(struct sway_output *output, | |||
1082 | return; | 1079 | return; |
1083 | } | 1080 | } |
1084 | 1081 | ||
1085 | struct sway_container *workspace = container_parent(view->swayc, | 1082 | if (!view_is_visible(view)) { |
1086 | C_WORKSPACE); | ||
1087 | if (workspace->sway_workspace->fullscreen && !view->is_fullscreen) { | ||
1088 | return; | 1083 | return; |
1089 | } | 1084 | } |
1090 | 1085 | ||