Skip to content

Commit

Permalink
wlr-workspaces: send x coordinate first
Browse files Browse the repository at this point in the history
  • Loading branch information
dkondor committed Nov 16, 2024
1 parent 49b7b1b commit fe9d4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/single_plugins/wlr-workspaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class wlr_ext_workspaces_intergration : public wf::per_output_plugin_instance_t

wl_array coordinates;
wl_array_init(&coordinates);
*(int32_t*)wl_array_add(&coordinates, sizeof(int32_t)) = i;
*(int32_t*)wl_array_add(&coordinates, sizeof(int32_t)) = j;
*(int32_t*)wl_array_add(&coordinates, sizeof(int32_t)) = i;
wlr_ext_workspace_handle_v1_set_coordinates(
workspaces[i][j], &coordinates);
wl_array_release(&coordinates);
Expand Down

0 comments on commit fe9d4cf

Please sign in to comment.