You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm finding that when I plug and unplug my monitor, into my laptop it doesn't restore a proper view or workspace, it just shows a blank screen. I can mouse around that screen and between screens, but it stays blank.
Which seems to work. Every time I plug in my monitor and check the value of exwm-randr-workspace-monitor-plist it looks correct, which is (0 "eDP-1" 1 "DP-1") when it's plugged in, and (0 "eDP-1) when it's not plugged in.
But here is the odd thing, I've got s-0 - s-9 keys assigned to switch workspaces:
I find that if I flip workspace to one I didn't use before, say workspace 2, suddenly boom, my monitor starts showing what it is supposed to, as if it kicked it into reevaluating. That's despite that the monitor shows workspace 1 always, and s-1 still takes me to the monitor, not the new workspace. All these new workspaces still belong to my laptop screen, not the monitor.
But the thing is, every time I unplug and plug I've got to use a higher workspace number. The next time s-2 won't work, I'll have to go to s-4 or something. Eventually I run out of workspaces 0-9, and have to resort to manually creating them with (exwm-workspace-switch-create some-big-number) to get my screen working again.
The text was updated successfully, but these errors were encountered:
You probably need to run exwm-randr-refresh from your hook. Otherwise, EXWM has no way to know that the workspace/monitor mapping has changed. That function is run automatically whenever a workspace is added/removed, that's likely why you're seeing this behavior.
Fixes we should make:
exwm-randr-workspace-monitor-plist should document this.
exwm-randr-workspace-monitor-plist should call exwm-randr-refresh when customized (e.g., via setopt) exwm-randr-mode is enabled.
I'm finding that when I plug and unplug my monitor, into my laptop it doesn't restore a proper view or workspace, it just shows a blank screen. I can mouse around that screen and between screens, but it stays blank.
Which seems to work. Every time I plug in my monitor and check the value of exwm-randr-workspace-monitor-plist it looks correct, which is (0 "eDP-1" 1 "DP-1") when it's plugged in, and (0 "eDP-1) when it's not plugged in.
But here is the odd thing, I've got s-0 - s-9 keys assigned to switch workspaces:
I find that if I flip workspace to one I didn't use before, say workspace 2, suddenly boom, my monitor starts showing what it is supposed to, as if it kicked it into reevaluating. That's despite that the monitor shows workspace 1 always, and s-1 still takes me to the monitor, not the new workspace. All these new workspaces still belong to my laptop screen, not the monitor.
But the thing is, every time I unplug and plug I've got to use a higher workspace number. The next time s-2 won't work, I'll have to go to s-4 or something. Eventually I run out of workspaces 0-9, and have to resort to manually creating them with (exwm-workspace-switch-create some-big-number) to get my screen working again.
The text was updated successfully, but these errors were encountered: