aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 6ddcac3b..27579c1b 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -5,6 +5,7 @@
5#include <wlr/types/wlr_output.h> 5#include <wlr/types/wlr_output.h>
6#include <wlr/render.h> 6#include <wlr/render.h>
7#include "log.h" 7#include "log.h"
8#include "sway/container.h"
8#include "sway/output.h" 9#include "sway/output.h"
9#include "sway/server.h" 10#include "sway/server.h"
10 11
@@ -34,11 +35,10 @@ void output_add_notify(struct wl_listener *listener, void *data) {
34 struct sway_output *output = calloc(1, sizeof(struct sway_output)); 35 struct sway_output *output = calloc(1, sizeof(struct sway_output));
35 output->wlr_output = wlr_output; 36 output->wlr_output = wlr_output;
36 output->server = server; 37 output->server = server;
38 output->swayc = new_output(output);
37 39
38 output->frame.notify = output_frame_notify; 40 output->frame.notify = output_frame_notify;
39 wl_signal_add(&wlr_output->events.frame, &output->frame); 41 wl_signal_add(&wlr_output->events.frame, &output->frame);
40
41 // TODO: Add to tree
42} 42}
43 43
44void output_remove_notify(struct wl_listener *listener, void *data) { 44void output_remove_notify(struct wl_listener *listener, void *data) {