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:
b292f8f
)
Fix least overlap to fall back to the chosen monitor, not (0,0).
author
Mikael Magnusson
<mikachu@gmail.com>
Thu, 18 Apr 2013 13:36:56 +0000
(15:36 +0200)
committer
Mikael Magnusson
<mikachu@gmail.com>
Thu, 18 Apr 2013 13:36:56 +0000
(15:36 +0200)
openbox/place_overlap.c
patch
|
blob
|
history
diff --git
a/openbox/place_overlap.c
b/openbox/place_overlap.c
index ef73bd8d906d2f754fbcb26da882d9fe2b9379c9..6b089562d887f221ea82607915b93a39380d7ccb 100644
(file)
--- a/
openbox/place_overlap.c
+++ b/
openbox/place_overlap.c
@@
-39,7
+39,7
@@
void place_overlap_find_least_placement(const Rect* client_rects,
const Size* req_size,
Point* result)
{
- POINT_SET(*result,
0, 0
);
+ POINT_SET(*result,
bound->x, bound->y
);
int overlap = G_MAXINT;
int max_edges = 2 * (n_client_rects + 1);