Minor fix for window move

* exwm-workspace.el (exwm-workspace-move-window): Move to selected instead of
  the first window of a frame (workspace).
This commit is contained in:
Chris Feng 2015-09-11 17:34:06 +08:00
parent dbcabe7946
commit cfbd9a5a45

View file

@ -204,7 +204,7 @@ The optional FORCE option is for internal use only."
:parent (frame-parameter frame 'exwm-window-id)
:x 0 :y 0))
(xcb:flush exwm--connection)
(set-window-buffer (frame-first-window frame)
(set-window-buffer (frame-selected-window frame)
(exwm--id->buffer id)))))
(exwm-workspace--update-switch-history)))