aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-05-09 23:01:30 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-05-09 23:01:30 -0500
commitc6833cf93e12322de0770b131e42649cc9fd8aad (patch)
treec980b12b17d615a133637e75653f285ba7413628 /dwl.c
parent59d16e491aa22de5702e978e2247e90b1ce4c607 (diff)
add output manager protocol
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 3a0b5c4..0e4441a 100644
--- a/dwl.c
+++ b/dwl.c
@@ -27,6 +27,7 @@
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_seat.h>
#include <wlr/types/wlr_xcursor_manager.h>
+#include <wlr/types/wlr_xdg_output_v1.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
#include <xkbcommon/xkbcommon.h>
@@ -1232,6 +1233,7 @@ setup(void)
/* Creates an output layout, which a wlroots utility for working with an
* arrangement of screens in a physical layout. */
output_layout = wlr_output_layout_create();
+ wlr_xdg_output_manager_v1_create(dpy, output_layout);
/* Configure a listener to be notified when new outputs are available on the
* backend. */