all repos — fluxbox @ 1d58e3afb289dd33ddb1b22533f4d717339ec216

custom fork of the fluxbox windowmanager

fix spin bug in placeWindow
rathnor rathnor
commit

1d58e3afb289dd33ddb1b22533f4d717339ec216

parent

d5871837d82cacc16371162dab14ba2f0589b19e

2 files changed, 7 insertions(+), 3 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,9 @@

(Format: Year/Month/Day) Changes for 0.9.9: +*04/03/15: + * bug in placeWindow caused spinning with screens higher than width + e.g. vertical xinerama (Simon) + Workspace.cc *04/03/13: * Fixed so it compiles in cygwin (Henrik) I18n.hh
M src/Workspace.ccsrc/Workspace.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Workspace.cc,v 1.92 2004/02/28 16:55:59 fluxgen Exp $ +// $Id: Workspace.cc,v 1.93 2004/03/15 03:48:47 rathnor Exp $ #include "Workspace.hh"

@@ -498,9 +498,9 @@ else

test_x = head_right - win_w; if (top_bot) - next_y = head_right; // it will get shrunk + next_y = head_top; else - next_y = head_left; + next_y = head_bot - win_h; // will be shrunk while (!placed && (left_right ? test_x + win_w < head_right