Merge pull request #2193 from RyanDwyer/fix-fullscreen-damage

Fix damage on swaybar when view requests to exit fullscreen
This commit is contained in:
emersion 2018-07-02 13:10:00 +01:00 committed by GitHub
commit c969923aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -222,8 +222,8 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
view_set_fullscreen(view, e->fullscreen);
struct sway_container *ws = container_parent(view->swayc, C_WORKSPACE);
arrange_and_commit(ws);
struct sway_container *output = container_parent(view->swayc, C_OUTPUT);
arrange_and_commit(output);
}
static void handle_unmap(struct wl_listener *listener, void *data) {

View File

@ -217,8 +217,8 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
view_set_fullscreen(view, e->fullscreen);
struct sway_container *ws = container_parent(view->swayc, C_WORKSPACE);
arrange_and_commit(ws);
struct sway_container *output = container_parent(view->swayc, C_OUTPUT);
arrange_and_commit(output);
}
static void handle_unmap(struct wl_listener *listener, void *data) {

View File

@ -379,8 +379,8 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
}
view_set_fullscreen(view, xsurface->fullscreen);
struct sway_container *ws = container_parent(view->swayc, C_WORKSPACE);
arrange_and_commit(ws);
struct sway_container *output = container_parent(view->swayc, C_OUTPUT);
arrange_and_commit(output);
}
static void handle_set_title(struct wl_listener *listener, void *data) {