Skip to content

Commit

Permalink
fix: window moves between enabled/disabled monitors #39
Browse files Browse the repository at this point in the history
  • Loading branch information
leukipp committed Jan 12, 2024
1 parent ff39f96 commit d269417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func (tr *Tracker) handleWorkspaceChange(c *store.Client) {

// Add client to new workspace
ws = tr.ClientWorkspace(c)
if tr.Handler.SwapScreen.Active {
if tr.Handler.SwapScreen.Active && tr.ActiveWorkspace().Enabled() {
ws = tr.ActiveWorkspace()
}
mg = ws.ActiveLayout().GetManager()
Expand Down

0 comments on commit d269417

Please sign in to comment.