diff options
author | mathias <mathias> | 2007-02-27 18:07:36 (GMT) |
---|---|---|
committer | mathias <mathias> | 2007-02-27 18:07:36 (GMT) |
commit | 589ecfc060ffebd2ec3aaf7d866f5ea885bd8aa3 (patch) | |
tree | 421874de6ca91afb5a840920705aed9f26960722 | |
parent | 3503f75903207e8bc658559fb3df46ea0de55004 (diff) | |
download | fluxbox_lack-589ecfc060ffebd2ec3aaf7d866f5ea885bd8aa3.zip fluxbox_lack-589ecfc060ffebd2ec3aaf7d866f5ea885bd8aa3.tar.bz2 |
respect external tabs in ArrangeWindows, patch from Tomas Janousek <tomi@nomi.cz>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | nls/es_AR/generated-ISO-8859-15.m | 1 | ||||
-rw-r--r-- | src/WorkspaceCmd.cc | 10 |
3 files changed, 13 insertions, 2 deletions
@@ -1,5 +1,9 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc3: | 2 | Changes 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 | |||
263 | 4 Dock | 263 | 4 Dock |
264 | 5 Normal | 264 | 5 Normal |
265 | 6 Arriba | 265 | 6 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); |