Skip to content

Fix moving windows from one desktop to another.#1317

Open
tzimisces wants to merge 1 commit into
fvwmorg:mainfrom
tzimisces:tzimisces/fix-disappearing-windows
Open

Fix moving windows from one desktop to another.#1317
tzimisces wants to merge 1 commit into
fvwmorg:mainfrom
tzimisces:tzimisces/fix-disappearing-windows

Conversation

@tzimisces
Copy link
Copy Markdown
Contributor

  • What does this PR do?

It turns out that windows disappear when being moved from one desktop to another, when the current desktop is the desktop the window is to be moved to, and, yes, the original desktop is not the current one ;)

I believe this fixes that problem.

It turns out that windows disappear when being moved from one desktop
to another, when the current desktop is the desktop the window is to
be moved to, and, yes, the original desktop is not the current one ;)

I believe this fixes that problem.
Comment thread fvwm/move_resize.c
Comment on lines -2249 to +2253
fw->Desk = m->virtual_scr.CurrentDesk;
if (fw->Desk != m->virtual_scr.CurrentDesk)
{
fw->UpdateDesk = m->virtual_scr.CurrentDesk;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No -- I'm not sure this is correct; the current desk gets updated when fvwm_update_screen() is called.

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.

2 participants