aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-05 13:58:01 -0400
committerGitHub <noreply@github.com>2018-04-05 13:58:01 -0400
commitda73b4f60b2f08ae057f921c45ad616c11e6c66d (patch)
treeb0be72d66e5b2e5c35ba4d30f39aede576696bda /rootston
parentb6482bacf469326b8634bb1e78a96bb91556617f (diff)
parentabfe7923c45c2a1bdb155279b922b112111f3124 (diff)
Merge pull request #830 from swaywm/xdg-output
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 d4c449f4..f1afe2c9 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);