respect external tabs in ArrangeWindows, patch from Tomas Janousek <tomi@nomi.cz>
mathias mathias
3 files changed,
13 insertions(+),
2 deletions(-)
M
nls/es_AR/generated-ISO-8859-15.m
→
nls/es_AR/generated-ISO-8859-15.m
@@ -263,3 +263,4 @@ 3 Escritorio
4 Dock 5 Normal 6 Arriba +
M
src/WorkspaceCmd.cc
→
src/WorkspaceCmd.cc
@@ -233,9 +233,15 @@ }
} if (normal_windows.size() > 1) { - (*closest)->moveResize(x_offs, y_offs, cal_width, cal_height); + (*closest)->moveResize(x_offs + (*closest)->xOffset(), + y_offs + (*closest)->yOffset(), + cal_width - (*closest)->widthOffset(), + cal_height - (*closest)->heightOffset()); } else { // the last window gets everything that is left. - (*closest)->moveResize(x_offs, y_offs, screen->maxRight(head)-x_offs, cal_height); + (*closest)->moveResize(x_offs + (*closest)->xOffset(), + y_offs + (*closest)->yOffset(), + screen->maxRight(head) - x_offs - (*closest)->widthOffset(), + cal_height - (*closest)->heightOffset()); } normal_windows.erase(closest);