summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <RyanDwyer@users.noreply.github.com>2018-06-30 18:57:04 +1000
committerLibravatar GitHub <noreply@github.com>2018-06-30 18:57:04 +1000
commit53c4467573c782b71ab6616e78834b432530f8ed (patch)
treeb06cedf94e2eb5fb0d011ef5f613c32f809d9788 /sway/tree/view.c
parentMerge pull request #2172 from apreiml/fix-keybinding-modifier-handling (diff)
parentFix floating views not receiving frame events (diff)
downloadsway-53c4467573c782b71ab6616e78834b432530f8ed.tar.gz
sway-53c4467573c782b71ab6616e78834b432530f8ed.tar.zst
sway-53c4467573c782b71ab6616e78834b432530f8ed.zip
Merge pull request #2173 from emersion/fix-floating-no-frame-event
Fix floating views not receiving frame events
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index c9c82405..de4ce2e6 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -948,7 +948,7 @@ bool view_is_visible(struct sway_view *view) {
948 // Check view isn't in a tabbed or stacked container on an inactive tab 948 // Check view isn't in a tabbed or stacked container on an inactive tab
949 struct sway_seat *seat = input_manager_current_seat(input_manager); 949 struct sway_seat *seat = input_manager_current_seat(input_manager);
950 struct sway_container *container = view->swayc; 950 struct sway_container *container = view->swayc;
951 while (container->type != C_WORKSPACE) { 951 while (container->type != C_WORKSPACE && container->layout != L_FLOATING) {
952 if (container->parent->layout == L_TABBED || 952 if (container->parent->layout == L_TABBED ||
953 container->parent->layout == L_STACKED) { 953 container->parent->layout == L_STACKED) {
954 if (seat_get_active_child(seat, container->parent) != container) { 954 if (seat_get_active_child(seat, container->parent) != container) {