aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/MinOverlapPlacement.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MinOverlapPlacement.cc b/src/MinOverlapPlacement.cc
index 121109f..1ace23a 100644
--- a/src/MinOverlapPlacement.cc
+++ b/src/MinOverlapPlacement.cc
@@ -175,8 +175,8 @@ bool MinOverlapPlacement::placeWindow(
175 } 175 }
176 176
177 // place window 177 // place window
178 place_x = min_reg->x; 178 place_x = min_reg->x + win.xOffset();
179 place_y = min_reg->y; 179 place_y = min_reg->y + win.yOffset();
180 180
181 return true; 181 return true;
182} 182}