faster focus

This commit is contained in:
David Botton 2024-04-10 00:49:02 -04:00
parent 6fc6f84f60
commit 660db998d4

View file

@ -333,9 +333,10 @@ window or nil if not found"))
(r nil))
(maphash (lambda (key value)
(declare (ignore key))
(when (and (equalp (window-title value) title)
(window-focus value)
(setf r value))))
(when (window-valid-p value)
(when (and (equalp (window-title value) title)
(window-focus value)
(setf r value)))))
(windows app))
r)))