diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2014-10-06 21:54:16 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2014-10-11 02:13:49 +0200 |
| commit | 39dfb7458a75ca502fb0c18ec0f1a107f5d51249 (patch) | |
| tree | 68775241fabce04d11b92f4e4731c27209fa911d /openbox/screen.c | |
| parent | d3359676e49b558cb7c6e24ea889c037d044b79f (diff) | |
Pass the GravityPoint as const* instead of by value
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
