1. Michele Bini
  2. sawfish-wm-nursery

Commits

Michele Bini  committed 8c73f0c

(scroll-into-window) Simplify code

  • Participants
  • Parent commits 0815604
  • Branches master

Comments (0)

Files changed (1)

File scroll-into.jl

View file
   "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))