Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send window to next desktop #4

Open
octalmage opened this issue Jun 18, 2014 · 1 comment
Open

Send window to next desktop #4

octalmage opened this issue Jun 18, 2014 · 1 comment

Comments

@octalmage
Copy link
Owner

octalmage commented Jun 18, 2014

It would be nice to have a SendActiveToNextDesktop feature that would perform a similar function to SwitchToNextDesktop, only it would carry the active window with it. I use this a lot in Ubuntu when a new window opens up, and I feel like it needs a new desktop. I prefer Ctrl+Alt+ to the Alt+ for switching desktops, and it would be nice to have an equivalent "Send" function using the arrows (something like Ctrl+Alt+Shift+)

It might look something like this:

SendActiveToNextDesktop()
{
    global

    if (curDesktop < numDesktops)
    {
        SendActiveToDesktop(curDesktop + 1)
        SwitchToDesktop(curDesktop + 1)
    }
    else
    {
        SendActiveToDesktop(1)
        SwitchToDesktop(1)
    }
    return
}

I tested it out, and it doesn't seem to break any of the existing features. Something to consider for the next rev. I understand that this would incur some more menu overhead if you want it to be customizable.

Source: https://code.google.com/p/mdesktop/issues/detail?id=23

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2710152-send-window-to-next-desktop?utm_campaign=plugin&utm_content=tracker%2F1897034&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1897034&utm_medium=issues&utm_source=github).
@octalmage
Copy link
Owner Author

You can do this by moving a window when you switch another desktop, the window will come with you. I personally prefer this but if there is enough interest I'll look into adding this. Or if someone wants to work on this I'll accept the pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant