aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathias <mathias>2007-02-27 18:07:36 (GMT)
committermathias <mathias>2007-02-27 18:07:36 (GMT)
commit589ecfc060ffebd2ec3aaf7d866f5ea885bd8aa3 (patch)
tree421874de6ca91afb5a840920705aed9f26960722
parent3503f75903207e8bc658559fb3df46ea0de55004 (diff)
downloadfluxbox-589ecfc060ffebd2ec3aaf7d866f5ea885bd8aa3.zip
fluxbox-589ecfc060ffebd2ec3aaf7d866f5ea885bd8aa3.tar.bz2
respect external tabs in ArrangeWindows, patch from Tomas Janousek <tomi@nomi.cz>
-rw-r--r--ChangeLog4
-rw-r--r--nls/es_AR/generated-ISO-8859-15.m1
-rw-r--r--src/WorkspaceCmd.cc10
3 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d2ac7be..23ad0dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes for 1.0rc3:
3*07/02/27:
4 * Respect external tabs in ArrangeWindows (thanks to Tomas Janousek <tomi
5 at nomiz dot cz>
6 WorkspaceCmd.cc
3*07/02/25: 7*07/02/25:
4 * Update systemtray alpha along with toolbar alpha (Mark) 8 * Update systemtray alpha along with toolbar alpha (Mark)
5 Systemtray.cc/hh 9 Systemtray.cc/hh
diff --git a/nls/es_AR/generated-ISO-8859-15.m b/nls/es_AR/generated-ISO-8859-15.m
index 343dad6..c556675 100644
--- a/nls/es_AR/generated-ISO-8859-15.m
+++ b/nls/es_AR/generated-ISO-8859-15.m
@@ -263,3 +263,4 @@ $set 20 #layers
2634 Dock 2634 Dock
2645 Normal 2645 Normal
2656 Arriba 2656 Arriba
266
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index d2bc3b7..414f942 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -233,9 +233,15 @@ void ArrangeWindowsCmd::execute() {
233 } 233 }
234 234
235 if (normal_windows.size() > 1) { 235 if (normal_windows.size() > 1) {
236 (*closest)->moveResize(x_offs, y_offs, cal_width, cal_height); 236 (*closest)->moveResize(x_offs + (*closest)->xOffset(),
237 y_offs + (*closest)->yOffset(),
238 cal_width - (*closest)->widthOffset(),
239 cal_height - (*closest)->heightOffset());
237 } else { // the last window gets everything that is left. 240 } else { // the last window gets everything that is left.
238 (*closest)->moveResize(x_offs, y_offs, screen->maxRight(head)-x_offs, cal_height); 241 (*closest)->moveResize(x_offs + (*closest)->xOffset(),
242 y_offs + (*closest)->yOffset(),
243 screen->maxRight(head) - x_offs - (*closest)->widthOffset(),
244 cal_height - (*closest)->heightOffset());
239 } 245 }
240 246
241 normal_windows.erase(closest); 247 normal_windows.erase(closest);