Commit 63243929c7468d0bf5bd8d0850920dead38e65ad Parent: 4d5855043b6278b513a5c982903c510cf29b3daf Author: mcol <mcol@posteo.net> Date: 2020-09-04 22:43:14 +0100 Committer: mcol <mcol@posteo.net> Committed: 2020-09-04 22:43:14 +0100 focus: increase minimal distance to focus
qtools/focus/focus.py Modified
@@ -73,7 +73,7 @@ if isinstance(w, Screen) or not w.minimized: pos = getattr(w, axis) + getattr(w, dim) / 2 gap = dir * (pos - cur_pos) - if gap > 0: + if gap > 5: band_pos = getattr(w, band_axis) + getattr(w, band_dim) / 2 if band_min < band_pos < band_max: if gap < dist: