diff options
-rw-r--r-- | exwm-workspace.el | 2 |
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))) |