ch11ng / exwm

Emacs X Window Manager
2.86k stars 137 forks source link

hop into new workspace on startup breaks xrandr #902

Closed SylvianHemus closed 1 year ago

SylvianHemus commented 1 year ago

xrandr doesn't render correctly on multimonitor when I call (exwm-workspace-switch 2) then (find-file "...") (split-window-horizontally) as (add-hook 'emacs-startup hook 'emacs-startup-screen). Advice on how to get this working would be helpful, guessing I should run this as a hook when exwm xrandr finishes and not on emacs startup screen

SylvianHemus commented 1 year ago

(exwm-workspace-switch-create x) where x is a new number (e.g., 6) placed after (exwm-randr-enable) worked for me. Seems like startup hook runs on each new workspace. could be wrong?