Skip to content

Commit

Permalink
fix duplication of main window when have 2 sidebar windows (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Junker committed Feb 15, 2021
1 parent 215d6cb commit c5c9831
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions popwin.el
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ HFACTOR, and vertical factor VFACTOR."
(cl-destructuring-bind (dir edges . windows) node
(append (list dir edges)
(cl-loop for window in windows
unless (and (windowp window)
(window-parameter window 'window-side))
unless (or (and (windowp window)
(window-parameter window 'window-side))
(not (windowp window)))
collect (popwin:window-config-tree-1 window))))))

(defun popwin:window-config-tree ()
Expand Down

0 comments on commit c5c9831

Please sign in to comment.