summaryrefslogtreecommitdiff
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-09-23 09:42:07 +0200
committerGitHub <[email protected]>2018-09-23 09:42:07 +0200
commit4bc327a021121850d0c02d15ef9e784ff0f797bd (patch)
tree0b2c5fe7f09257660116f618f9e09d0d12e32888 /sway/tree/workspace.c
parent1af4d314d1873d823903bab72a79023e42221e1b (diff)
parent64445f421452b841eb124f7f89e06084b05b1a54 (diff)
Merge pull request #2694 from RyanDwyer/fix-sticky-jumping-on-switch
Prevent sticky containers from jumping on workspace switch
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r--sway/tree/workspace.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index b0c440c1..16031e87 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -54,10 +54,6 @@ struct sway_workspace *workspace_create(struct sway_output *output,
return NULL;
}
node_init(&ws->node, N_WORKSPACE, ws);
- ws->x = output->lx;
- ws->y = output->ly;
- ws->width = output->width;
- ws->height = output->height;
ws->name = name ? strdup(name) : NULL;
ws->prev_split_layout = L_NONE;
ws->layout = output_get_default_layout(output);