From 39dfb7458a75ca502fb0c18ec0f1a107f5d51249 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 6 Oct 2014 21:54:16 +0200 Subject: Pass the GravityPoint as const* instead of by value --- openbox/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index 4b75b3e7..e758ada1 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -1930,7 +1930,7 @@ gboolean screen_compare_desktops(guint a, guint b) } void screen_apply_gravity_point(gint *x, gint *y, gint width, gint height, - GravityPoint *position, const Rect *area) + const GravityPoint *position, const Rect *area) { if (position->x.center) *x = area->width / 2 - width / 2; -- cgit v1.2.3