Permalink
Browse files

Do not override sub window for display when using anything/helm

  • Loading branch information...
1 parent 48082e3 commit 0ad96ea64e717049b36713a8f92521359e4e597d @tkf committed Nov 22, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 ne2wm-pst-three+.el
View
@@ -180,7 +180,10 @@
(e2wm:pst-buffer-set 'right buf)
(e2wm:pst-buffer-set 'left buf)))
t)
- ((eq (wlf:get-window (e2wm:pst-get-wm) 'sub) (selected-window))
+ ((let* ((wm (e2wm:pst-get-wm))
+ (subwin (wlf:get-window wm 'sub)))
+ (or (eq subwin (selected-window))
+ (eq subwin (minibuffer-selected-window))))
(e2wm:pst-buffer-set 'left buf)
t)
(t

0 comments on commit 0ad96ea

Please sign in to comment.