diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-01 16:19:41 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-02-01 11:32:57 -0500 |
commit | 40eb29e7c56b67c2112ead7f048e45220a1c2887 (patch) | |
tree | d29b0d25eafeb8e93ad3f067658d3930d0020665 /sway/desktop | |
parent | 2e33b0276f0fb4d5488638aa93f6df3f80b1a3b1 (diff) |
ipc: add support for output event
For compatibility with i3 [1].
[1]: https://i3wm.org/docs/ipc.html#_output_event
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |