diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-27 17:46:03 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-27 17:46:03 +1000 |
commit | be86d3aba602fef7b51fafa8a6e7a39d1e49817f (patch) | |
tree | ba4e3debd236eb39337cd4f59772b2eaf260195f /sway/desktop/xdg_shell_v6.c | |
parent | 61c118768564eec07ac16494d90f567e75ea60cf (diff) |
Remove transaction_add_damage
Instead, damage each container when applying the transaction.
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index da2eda7a..6042a806 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -267,10 +267,7 @@ 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); - struct sway_transaction *transaction = transaction_create(); - arrange_windows(ws, transaction); - transaction_add_damage(transaction, container_get_box(ws->parent)); - transaction_commit(transaction); + arrange_and_commit(ws); } void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { |