aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-17 16:34:32 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-17 16:34:32 -0500
commitd2c7defa10797b6755904ee43d93bf1275d1777a (patch)
treef4e1974892f71ad1724ed64b042f34c002d43fe2 /rootston/desktop.c
parent85871cb666a8adf8221b0b64049697a9d5ade686 (diff)
parent088028c570dd5b52f81069654166f0117667fac0 (diff)
Merge branch 'master' into output-layout-adjacent
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 80ccbc25..6b28a41c 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -15,6 +15,7 @@
#include <wlr/types/wlr_wl_shell.h>
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
+#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
#include "rootston/seat.h"
#include "rootston/server.h"
@@ -639,6 +640,11 @@ struct roots_desktop *desktop_create(struct roots_server *server,
&desktop->xdg_shell_v6_surface);
desktop->xdg_shell_v6_surface.notify = handle_xdg_shell_v6_surface;
+ desktop->xdg_shell = wlr_xdg_shell_create(server->wl_display);
+ wl_signal_add(&desktop->xdg_shell->events.new_surface,
+ &desktop->xdg_shell_surface);
+ desktop->xdg_shell_surface.notify = handle_xdg_shell_surface;
+
desktop->wl_shell = wlr_wl_shell_create(server->wl_display);
wl_signal_add(&desktop->wl_shell->events.new_surface,
&desktop->wl_shell_surface);