about summary refs log tree commit diff
path: root/exwm-floating.el
diff options
context:
space:
mode:
authorVed Vyas <ved@vyas.io>2016-08-30T16·10-0400
committerVed Vyas <ved@vyas.io>2016-08-30T16·10-0400
commit9105f2312161a402ab7e7b4d6e8bcf127cbf51f5 (patch)
tree3207dc83202a7540c4c295c067ca5bb8730e2f14 /exwm-floating.el
parentcfcaed691bff4270a8bccf9f873a4ba8f0524b4b (diff)
Improve exwm-workspace-move-window behavior in specific case
This is a small change that improves the behavior of
`exwm-workspace-move-window` in the following situation:

0. `exwm-workspace-show-all-buffers` and `exwm-layout-show-all-buffers`
are `nil`*.
1. On active workspace `i`, there is X window `a` in the selected Emacs
window.
2. On workspace `j`, there is X window `b` in the selected Emacs window
on that workspace frame.
3. While workspace `i` is active, use `exwm-workspace-move-window` to
move `a` to workspace `j`.
4. Switch to workspace `j` and use `exwm-workspace-move-window` to move
`a` back to workspace `i`.

Expected behavior: X window `a` is once again shown in the selected
Emacs window on workspace `i` and X window `b` is once again shown in
the selected Emacs window on workspace `j`.

What is observed: `a` is OK but the selected Emacs window on workspace
`j` does not show `b`. However, `b` is the first candidate when doing a
`switch-to-buffer` in that Emacs window on workspace `j`.

I'm not sure if this is the correct and complete change required, but it
is working well so far.

*The expected behavior is observed with EXWM 0.10 if
exwm-{workspace,layout}-show-all-buffers are non-nil.
Diffstat (limited to 'exwm-floating.el')
0 files changed, 0 insertions, 0 deletions