Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Switching to a frame on EXWM with XRandR #1

Open
akirak opened this issue May 27, 2018 · 2 comments
Open

Switching to a frame on EXWM with XRandR #1

akirak opened this issue May 27, 2018 · 2 comments

Comments

@akirak
Copy link
Owner

akirak commented May 27, 2018

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
Copy link
Owner Author

akirak commented May 31, 2018

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:

  • Display a list of EXWM workspaces on lemonbar with my custom config
  • Use an EXWM built-in exwm-workspace-switch command to switch to a hidden workspace.
  • Use frame-workflow-exwm-swap-workspaces to swap positions of two visible workspaces.
  • Use exwm-window-go to switch between visible workspaces.

@akirak
Copy link
Owner Author

akirak commented Jun 7, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant