From 40eb29e7c56b67c2112ead7f048e45220a1c2887 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 1 Feb 2023 16:19:41 +0100 Subject: ipc: add support for output event For compatibility with i3 [1]. [1]: https://i3wm.org/docs/ipc.html#_output_event --- sway/desktop/output.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/desktop') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 1c209a39..141edb49 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -20,6 +20,7 @@ #include "sway/desktop/transaction.h" #include "sway/input/input-manager.h" #include "sway/input/seat.h" +#include "sway/ipc-server.h" #include "sway/layers.h" #include "sway/output.h" #include "sway/server.h" @@ -789,6 +790,8 @@ static void update_output_manager_config(struct sway_server *server) { } wlr_output_manager_v1_set_configuration(server->output_manager_v1, config); + + ipc_event_output(); } static void handle_destroy(struct wl_listener *listener, void *data) { -- cgit v1.2.3