aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-18 15:09:37 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-27 18:50:09 -0400
commitb31ce4220cea6acede2ae2af1b19a3a7d4b81fc6 (patch)
tree53d07ebecc27cbe9c521b5f3843d656bce330045 /rootston/desktop.c
parent88eec637a44ede8b521c2aa44d0196c99dd5a0e3 (diff)
Add broken test client and rootston stubs
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index dcf0b7b2..015a8215 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -716,7 +716,9 @@ struct roots_desktop *desktop_create(struct roots_server *server,
desktop->wl_shell_surface.notify = handle_wl_shell_surface;
desktop->layer_shell = wlr_layer_shell_create(server->wl_display);
- // TODO: Pick up new surfaces
+ wl_signal_add(&desktop->layer_shell->events.new_surface,
+ &desktop->layer_shell_surface);
+ desktop->layer_shell_surface.notify = handle_layer_shell_surface;
#ifdef WLR_HAS_XWAYLAND
const char *cursor_theme = NULL;