aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 6c98744c..b3653913 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -86,7 +86,7 @@ static const char *get_string_prop(struct sway_view *view, enum sway_view_prop p
86 } 86 }
87} 87}
88 88
89static void configure(struct sway_view *view, double ox, double oy, int width, 89static void configure(struct sway_view *view, double lx, double ly, int width,
90 int height) { 90 int height) {
91 struct sway_xdg_shell_v6_view *xdg_shell_v6_view = 91 struct sway_xdg_shell_v6_view *xdg_shell_v6_view =
92 xdg_shell_v6_view_from_view(view); 92 xdg_shell_v6_view_from_view(view);
@@ -97,7 +97,7 @@ static void configure(struct sway_view *view, double ox, double oy, int width,
97 xdg_shell_v6_view->pending_width = width; 97 xdg_shell_v6_view->pending_width = width;
98 xdg_shell_v6_view->pending_height = height; 98 xdg_shell_v6_view->pending_height = height;
99 wlr_xdg_toplevel_v6_set_size(view->wlr_xdg_surface_v6, width, height); 99 wlr_xdg_toplevel_v6_set_size(view->wlr_xdg_surface_v6, width, height);
100 view_update_position(view, ox, oy); 100 view_update_position(view, lx, ly);
101} 101}
102 102
103static void set_activated(struct sway_view *view, bool activated) { 103static void set_activated(struct sway_view *view, bool activated) {