aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-05 12:22:19 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-05 12:40:30 -0400
commitabfe7923c45c2a1bdb155279b922b112111f3124 (patch)
treee162c702d7df17a13a56bf3fcd7cf7657793d8e1 /rootston
parent9a30a4f557c895e3d9ed9be19813ce43f05e00cb (diff)
Add wlr_xdg_output_manager
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index e9c1ed30..07b80b08 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -20,6 +20,7 @@
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/types/wlr_xdg_shell.h>
+#include <wlr/types/wlr_xdg_output.h>
#include <wlr/util/log.h>
#include "rootston/layers.h"
#include "rootston/seat.h"
@@ -775,6 +776,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
desktop->config = config;
desktop->layout = wlr_output_layout_create();
+ wlr_xdg_output_manager_create(server->wl_display, desktop->layout);
desktop->layout_change.notify = handle_layout_change;
wl_signal_add(&desktop->layout->events.change, &desktop->layout_change);