Skip to content

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Oct 15, 2025

Whoops. Closes #18652

@lhecker lhecker force-pushed the dev/lhecker/18652-virtual-desktop branch from 0409c25 to 37bc6ed Compare October 15, 2025 12:23
const auto mostRecent = mostRecentWeak.lock();
auto window = mostRecent.get();

if (!window)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DHowett The fix is that this if-condition is gone. If the currentDesktop was acquired we must yield a window = nullptr if no window exists on the current desktop. This if-condition however will assign the most recent window.

@DHowett DHowett merged commit 5ae95d7 into main Oct 21, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Attach to the most recently used window on this desktop" continues to open in instance on other desktop

2 participants