aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-14 11:47:39 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-14 11:47:39 +1000
commit8432d8a15e4191d602d72efdcb82ea241dd30b86 (patch)
treebe8ef146ce3981853a2409f7b32e1dd15e8070d2 /sway/desktop/xdg_shell.c
parentInitialise error_arg to NULL in criteria_parse (diff)
downloadsway-8432d8a15e4191d602d72efdcb82ea241dd30b86.tar.gz
sway-8432d8a15e4191d602d72efdcb82ea241dd30b86.tar.zst
sway-8432d8a15e4191d602d72efdcb82ea241dd30b86.zip
xdg_shell: Replace get_prop with get_string_prop
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r--sway/desktop/xdg_shell.c4
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
75static const char *get_prop(struct sway_view *view, enum sway_view_prop prop) { 75static 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
152static const struct sway_view_impl view_impl = { 152static 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,