mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
ipc: add support for output event
For compatibility with i3 [1]. [1]: https://i3wm.org/docs/ipc.html#_output_event
This commit is contained in:
parent
2e33b0276f
commit
40eb29e7c5
4 changed files with 35 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue