Skip to content

Commit

Permalink
fix XDG shell geometry report
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Nov 5, 2024
1 parent abb8aff commit 5b6ccfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xdg_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ static void get_position(struct cg_view *view, int *x_out, int *y_out)
struct wlr_box geom;

wlr_xdg_surface_get_geometry(xdg_shell_view->xdg_toplevel->base, &geom);
*x_out = geom.width;
*y_out = geom.height;
*x_out = geom.x;
*y_out = geom.y;
}


Expand Down

0 comments on commit 5b6ccfe

Please sign in to comment.