akirak / frame-workflow

Frame-oriented workflow management for Emacs
GNU General Public License v3.0
25 stars 2 forks source link

Switching to a frame on EXWM with XRandR #1

Open akirak opened 6 years ago

akirak commented 6 years ago

Frame-workflow uses select-frame-set-input-focus for selecting a frame by default. This function works poorly on EXWM with multiple monitors. It seems to display the frame always on the first monitor, at least in my environment. This issue may be solved by using a different function to switch frames, but even exwm-workspace-switch seems to work in a similar way. Maybe I have to implement a new function to select a frame on EXWM.

akirak commented 6 years ago

I have recently added frame-workflow-exwm.el module which includes frame-workflow-exwm-swap-workspaces command. It swaps two visible workspaces, and if there are only two monitors, it doesn't require any user input. EXWM has a built-in command named exwm-workspace-swap, but it lets you select two workspaces by numbers from any workspaces including hidden ones, which is not easy to use for me.

Workspace switching on EXWM got easier by combining the following methods:

akirak commented 6 years ago

As I am currently working on #5, this needs to be fixed later.