summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/place.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-16 05:32:20 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-16 05:32:20 +0000
commit4cc08bed31adc7746f10818a1e931f94fc5d91e0 (patch)
tree0a93fa8f25b66807b28c63dc6984f738a71c1c93 /beryl-plugins/src/place.c
parent4d97de70ae1c117ad4fd8c48ff66203c36d23b09 (diff)
downloadmarex-dev-4cc08bed31adc7746f10818a1e931f94fc5d91e0.tar.gz
marex-dev-4cc08bed31adc7746f10818a1e931f94fc5d91e0.tar.bz2
microcommit
git-svn-id: file:///beryl/trunk@1791 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/place.c')
-rw-r--r--beryl-plugins/src/place.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/beryl-plugins/src/place.c b/beryl-plugins/src/place.c
index 48c6393..d8f60c1 100644
--- a/beryl-plugins/src/place.c
+++ b/beryl-plugins/src/place.c
@@ -277,9 +277,9 @@ static void placeIntelligent(CompWindow *window, int *xo, int *yo){
XRectangle windowRec = RECTANGLE_FROM_WINDOW(window);
Bool overlaps = FALSE;
- for (x = 0; x < window->screen->workArea.width; x++){
+ for (x = 0; x < window->screen->workArea.width; x+=(get_window_height(window))/10){
overlaps=FALSE;
- for (y = 0; y < window->screen->workArea.height;y++){
+ for (y = 0; y < window->screen->workArea.height;y+=(get_window_width(window))/10){
CompScreen *l=window->screen->windows;
while (l){
XRectangle dest;