diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-06-30 18:57:04 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 18:57:04 +1000 |
commit | 53c4467573c782b71ab6616e78834b432530f8ed (patch) | |
tree | b06cedf94e2eb5fb0d011ef5f613c32f809d9788 | |
parent | d3ea07f8283385d015e1d85b5fe9bc8a776fc7b4 (diff) | |
parent | 4de28bba68d01bafc40ebb270227d5d8fe0ddd87 (diff) | |
download | sway-53c4467573c782b71ab6616e78834b432530f8ed.tar.xz |
Merge pull request #2173 from emersion/fix-floating-no-frame-event
Fix floating views not receiving frame events
-rw-r--r-- | sway/tree/view.c | 2 |
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) { // Check view isn't in a tabbed or stacked container on an inactive tab struct sway_seat *seat = input_manager_current_seat(input_manager); struct sway_container *container = view->swayc; - while (container->type != C_WORKSPACE) { + while (container->type != C_WORKSPACE && container->layout != L_FLOATING) { if (container->parent->layout == L_TABBED || container->parent->layout == L_STACKED) { if (seat_get_active_child(seat, container->parent) != container) { |