about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-09-11T09·34+0800
committerChris Feng <chris.w.feng@gmail.com>2015-09-11T09·34+0800
commitcfbd9a5a451cf57149215accbecc75ff7b4a8c3d (patch)
tree78ff4377c4f1e4e797e3179a5aea480f47535733 /exwm-workspace.el
parentdbcabe7946592c0af550c31b9a47a9856fd2d501 (diff)
Minor fix for window move
* exwm-workspace.el (exwm-workspace-move-window): Move to selected instead of
  the first window of a frame (workspace).
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index d2619eed94f8..40dd57ca69ee 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -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)))