aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-15 13:49:42 +0100
committerSimon Ser <contact@emersion.fr>2020-12-15 13:49:42 +0100
commite57a52e7f793a815f5b635b3751112d4c6f9302b (patch)
tree2eb3463ee8553b1acb30154c9d9742a10ef13da7 /xwayland/xwm.c
parent93cd3a79b26cb3a94094efd28ee55fb6db6e7347 (diff)
Remove inline keyword
The compiler is smarter at figuring out whether a function should be inlined or not.
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index f258ab00..781bf15d 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -1165,7 +1165,7 @@ static bool update_state(int action, bool *state) {
return changed;
}
-static inline bool xsurface_is_maximized(
+static bool xsurface_is_maximized(
struct wlr_xwayland_surface *xsurface) {
return xsurface->maximized_horz && xsurface->maximized_vert;
}