all repos — fluxbox @ 56580b2321ddd3e8b8620a0972723bdd7375eef9

custom fork of the fluxbox windowmanager

respect border size in the MoveTo action, especially at the right and lower
border of the screen.
mathias mathias
commit

56580b2321ddd3e8b8620a0972723bdd7375eef9

parent

093b06edd3709b05d4cbb2c5a007c0a821770f36

2 files changed, 4 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.14: *05/07/05: + * Respect border size in the MoveTo action (Mathias) + CurrentWindowCmd.cc * Added kcommander, Valknut, dcgui-qt, quickdc, asami, amsn to fbgm (Mathias) fluxbox-generate_menu.in *05/06/30:
M src/CurrentWindowCmd.ccsrc/CurrentWindowCmd.cc

@@ -143,11 +143,11 @@

const int head = fbwindow().screen().getHead(fbwindow().fbWindow()); if (m_refc & MoveToCmd::LOWER) - y = fbwindow().screen().maxBottom(head) - fbwindow().height() - m_step_size_y; + y = fbwindow().screen().maxBottom(head) - fbwindow().height() - 2 * fbwindow().frame().window().borderWidth() - m_step_size_y; if (m_refc & MoveToCmd::UPPER) y = fbwindow().screen().maxTop(head) + m_step_size_y; if (m_refc & MoveToCmd::RIGHT) - x = fbwindow().screen().maxRight(head) - fbwindow().width() - m_step_size_x; + x = fbwindow().screen().maxRight(head) - fbwindow().width() - 2 * fbwindow().frame().window().borderWidth() - m_step_size_x; if (m_refc & MoveToCmd::LEFT) x = fbwindow().screen().maxLeft(head) + m_step_size_x;