When switching-to-buffer/find-file is invoked within an exwm-floating-frame, it currently results in the new buffer opening underneath the floating window. To address this issue, I have added the following advice to refocus on the main frame before calling switching-to-buffer/find-file. We might want to incorporate similar advice into the exwm package or redefine the behavior of switch-to-buffer for floating windows.
When
switching-to-buffer/find-file
is invoked within anexwm-floating-frame
, it currently results in the new buffer opening underneath the floating window. To address this issue, I have added the following advice to refocus on the main frame before callingswitching-to-buffer/find-file
. We might want to incorporate similar advice into the exwm package or redefine the behavior of switch-to-buffer for floating windows.