mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
workspaces: Wire up workspaces
This commit is contained in:
parent
ae2fa1571b
commit
8c5157a098
7 changed files with 134 additions and 68 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include "labwc.h"
|
||||
#include "node.h"
|
||||
#include "ssd.h"
|
||||
#include "workspaces.h"
|
||||
|
||||
static void
|
||||
handle_commit(struct wl_listener *listener, void *data)
|
||||
|
|
@ -434,7 +435,8 @@ xwayland_surface_new(struct wl_listener *listener, void *data)
|
|||
view->impl = &xwl_view_impl;
|
||||
view->xwayland_surface = xsurface;
|
||||
|
||||
view->scene_tree = wlr_scene_tree_create(view->server->view_tree);
|
||||
view->workspace = server->workspace_current;
|
||||
view->scene_tree = wlr_scene_tree_create(view->workspace->tree);
|
||||
node_descriptor_create(&view->scene_tree->node,
|
||||
LAB_NODE_DESC_VIEW, view);
|
||||
xsurface->data = view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue