Arrange output in arrange_layers and commit dirty

This commit is contained in:
Brian Ashworth 2018-07-22 23:43:45 -04:00
parent 9564c73c0d
commit abf33468c1
1 changed files with 5 additions and 0 deletions

View File

@ -7,11 +7,13 @@
#include <wlr/types/wlr_output_damage.h>
#include <wlr/types/wlr_output.h>
#include <wlr/util/log.h>
#include "sway/desktop/transaction.h"
#include "sway/input/input-manager.h"
#include "sway/input/seat.h"
#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"
@ -212,6 +214,9 @@ void arrange_layers(struct sway_output *output) {
wl_list_for_each(seat, &input_manager->seats, link) {
seat_set_focus_layer(seat, topmost ? topmost->layer_surface : NULL);
}
arrange_windows(output->swayc);
transaction_commit_dirty();
}
static void handle_output_destroy(struct wl_listener *listener, void *data) {