projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass the GravityPoint as const* instead of by value
[mikachu/openbox.git]
/
openbox
/
screen.c
diff --git
a/openbox/screen.c
b/openbox/screen.c
index
4b75b3e
..
e758ada
100644
(file)
--- 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;