branch: externals/exwm
commit cfbd9a5a451cf57149215accbecc75ff7b4a8c3d
Author: Chris Feng <chris.w.f...@gmail.com>
Commit: Chris Feng <chris.w.f...@gmail.com>

    Minor fix for window move
    
    * exwm-workspace.el (exwm-workspace-move-window): Move to selected instead 
of
      the first window of a frame (workspace).
---
 exwm-workspace.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exwm-workspace.el b/exwm-workspace.el
index d2619ee..40dd57c 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)))
 

Reply via email to