Update output manager on layout change

The output manager config was not properly updated if the position
of the output got changed.
This commit is contained in:
Josef Gajdusek 2019-07-16 20:58:14 +02:00 committed by Simon Ser
parent 9af0b4d2ea
commit ac87df23ea
4 changed files with 13 additions and 0 deletions

View file

@ -154,6 +154,8 @@ void scale_box(struct wlr_box *box, float scale);
enum wlr_direction opposite_direction(enum wlr_direction d);
void handle_output_layout_change(struct wl_listener *listener, void *data);
void handle_output_manager_apply(struct wl_listener *listener, void *data);
void handle_output_manager_test(struct wl_listener *listener, void *data);

View file

@ -34,6 +34,7 @@ struct sway_server {
struct sway_input_manager *input;
struct wl_listener new_output;
struct wl_listener output_layout_change;
struct wlr_idle *idle;
struct sway_idle_inhibit_manager_v1 *idle_inhibit_manager_v1;