summaryrefslogtreecommitdiff
path: root/sway/desktop/wl_shell.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-05-12 08:52:54 -0400
committerDrew DeVault <[email protected]>2018-05-12 08:52:54 -0400
commit32a572cecfd0f6072a78ce0a381a2f8365f9010a (patch)
treeff3860acec8478bd3962145bafaa2bac19717bad /sway/desktop/wl_shell.c
parentac0e62584f6101277b76622a7274866cd50f615c (diff)
Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"
This reverts commit 3e1bf721c69cb6df70c3dc3d3d4933e987339676, reversing changes made to 2217518bd554d0f11dafa7ec4e8f35f2e4762fbd.
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r--sway/desktop/wl_shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c
index cb3774f7..99e8947b 100644
--- a/sway/desktop/wl_shell.c
+++ b/sway/desktop/wl_shell.c
@@ -20,7 +20,7 @@ static struct sway_wl_shell_view *wl_shell_view_from_view(
return (struct sway_wl_shell_view *)view;
}
-static const char *get_string_prop(struct sway_view *view, enum sway_view_prop prop) {
+static const char *get_prop(struct sway_view *view, enum sway_view_prop prop) {
if (wl_shell_view_from_view(view) == NULL) {
return NULL;
}
@@ -70,7 +70,7 @@ static void set_fullscreen(struct sway_view *view, bool fullscreen) {
}
static const struct sway_view_impl view_impl = {
- .get_string_prop = get_string_prop,
+ .get_prop = get_prop,
.configure = configure,
.close = _close,
.destroy = destroy,