projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65dfa5
)
[0]. is confusing when it's not an array
wip/edges
author
Mikael Magnusson
<mikachu@gmail.com>
Thu, 18 Apr 2013 11:10:29 +0000
(13:10 +0200)
committer
Mikael Magnusson
<mikachu@gmail.com>
Sat, 11 Oct 2014 00:17:21 +0000
(
02:17
+0200)
openbox/edges.c
patch
|
blob
|
history
diff --git
a/openbox/edges.c
b/openbox/edges.c
index
2b40619
..
bc76ef8
100644
(file)
--- a/
openbox/edges.c
+++ b/
openbox/edges.c
@@
-58,8
+58,8
@@
static void get_position(ObEdgeLocation edge, Rect screen, Rect *rect)
RECT_SET(*rect, 0, 0, CORNER_SIZE, CORNER_SIZE);
break;
}
- rect
[0].
x += screen.x;
- rect
[0].
y += screen.y;
+ rect
->
x += screen.x;
+ rect
->
y += screen.y;
}
void edges_startup(gboolean reconfigure)