diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-15 05:01:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-15 05:01:25 -0700 |
commit | 53e3f35ba348d6285478ceb4a93b020e138c95c7 (patch) | |
tree | 091c6133f3bd33b64b1853c7984eaa3921b9facf /sway/desktop/layer_shell.c | |
parent | 806c06fdfbbf1734f2df74b85d861bf0bc13f48e (diff) | |
parent | 6b2dc7e63b3a602b29c47e3b70bc7890c063dcf4 (diff) | |
download | sway-53e3f35ba348d6285478ceb4a93b020e138c95c7.tar.xz |
Merge pull request #2272 from RyanDwyer/simplify-transactions
Simplify transactions by using a dirty flag on containers
Diffstat (limited to 'sway/desktop/layer_shell.c')
-rw-r--r-- | sway/desktop/layer_shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 16910c7e..91baa6f8 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -12,7 +12,6 @@ #include "sway/layers.h" #include "sway/output.h" #include "sway/server.h" -#include "sway/tree/arrange.h" #include "sway/tree/layout.h" #include "log.h" @@ -176,7 +175,7 @@ void arrange_layers(struct sway_output *output) { sizeof(struct wlr_box)) != 0) { wlr_log(WLR_DEBUG, "Usable area changed, rearranging output"); memcpy(&output->usable_area, &usable_area, sizeof(struct wlr_box)); - arrange_and_commit(output->swayc); + container_set_dirty(output->swayc); } // Arrange non-exlusive surfaces from top->bottom |