Skip to content

Commit

Permalink
Change so that the header window is always redrawn when a floating wi…
Browse files Browse the repository at this point in the history
…ndow exists.

This is because if a popup overlaps the header window, a drawing trace will remain.
  • Loading branch information
cxxxr committed Oct 19, 2024
1 parent 1f2f911 commit f750fd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/display/base.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ Used to prevent recursive `redraw-display` calls.")
(window-redraw window force)))
(redraw-current-window (current-window) force))
(redraw-header-windows (force)
(dolist (window (frame-header-windows (current-frame)))
(window-redraw window force)))
(let ((force (or force (not (null (frame-floating-windows (current-frame)))))))
(dolist (window (frame-header-windows (current-frame)))
(window-redraw window force))))
(redraw-floating-windows ()
(dolist (window (frame-floating-windows (current-frame)))
(window-redraw window (redraw-after-modifying-floating-window (implementation)))))
Expand Down

0 comments on commit f750fd6

Please sign in to comment.