aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-03 11:01:44 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-03 11:01:44 -0500
commit802e7392f89a1e401a3953099ac5d477a461e469 (patch)
treef38154ed617c81c10e4054752d94806ee0c257bd /sway/desktop/xdg_shell_v6.c
parentb6f4120afc85f0df301a6823b8d8bca08d367fda (diff)
use "size" instead of "dimensions"
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 45e443fc..2545d1a6 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -28,7 +28,7 @@ static const char *get_prop(struct sway_view *view, enum sway_view_prop prop) {
}
}
-static void set_dimensions(struct sway_view *view, int width, int height) {
+static void set_size(struct sway_view *view, int width, int height) {
if (!assert_xdg(view)) {
return;
}
@@ -86,7 +86,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
}
sway_view->type = SWAY_XDG_SHELL_V6_VIEW;
sway_view->iface.get_prop = get_prop;
- sway_view->iface.set_dimensions = set_dimensions;
+ sway_view->iface.set_size = set_size;
sway_view->wlr_xdg_surface_v6 = xdg_surface;
sway_view->sway_xdg_surface_v6 = sway_surface;
sway_view->surface = xdg_surface->surface;