diff options
-rw-r--r-- | sway/desktop/xdg_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 48b659f2..9a0d282b 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -72,7 +72,7 @@ static struct sway_xdg_shell_view *xdg_shell_view_from_view( | |||
72 | return (struct sway_xdg_shell_view *)view; | 72 | return (struct sway_xdg_shell_view *)view; |
73 | } | 73 | } |
74 | 74 | ||
75 | static const char *get_prop(struct sway_view *view, enum sway_view_prop prop) { | 75 | static const char *get_string_prop(struct sway_view *view, enum sway_view_prop prop) { |
76 | if (xdg_shell_view_from_view(view) == NULL) { | 76 | if (xdg_shell_view_from_view(view) == NULL) { |
77 | return NULL; | 77 | return NULL; |
78 | } | 78 | } |
@@ -150,7 +150,7 @@ static void destroy(struct sway_view *view) { | |||
150 | } | 150 | } |
151 | 151 | ||
152 | static const struct sway_view_impl view_impl = { | 152 | static const struct sway_view_impl view_impl = { |
153 | .get_prop = get_prop, | 153 | .get_string_prop = get_string_prop, |
154 | .configure = configure, | 154 | .configure = configure, |
155 | .set_activated = set_activated, | 155 | .set_activated = set_activated, |
156 | .set_fullscreen = set_fullscreen, | 156 | .set_fullscreen = set_fullscreen, |