From cfbd9a5a451cf57149215accbecc75ff7b4a8c3d Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Fri, 11 Sep 2015 17:34:06 +0800 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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)))