Commits

Michele Bini committed 8c73f0c

(scroll-into-window) Simplify code

Comments (0)

Files changed (1)

   "Adjusts the viewport making the focused window fully visible."
   (let ((window (input-focus)))
     (when window
-      (unless (and #t (window-get window 'sticky-viewport))
+      (unless (window-get window 'sticky-viewport)
 	(let* ((ix 0) (iy 0)
 	       (p (window-position window))
 	       (d (window-frame-dimensions window))