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

Different behavior from i3 when launching app #993

Closed
alkino opened this issue Dec 15, 2016 · 3 comments
Closed

Different behavior from i3 when launching app #993

alkino opened this issue Dec 15, 2016 · 3 comments

Comments

@alkino
Copy link
Contributor

alkino commented Dec 15, 2016

When launching a heavy app from dmenu. And the app takes several seconds to be launched. During the launch you switch of workspace.

With i3, the app is launched in the workspace where dmenu was used.
With Sway, the app is launched in the current workspace.

Dig a little in i3 around "start_application()", but I don't understand how it does it.

@alkino
Copy link
Contributor Author

alkino commented Dec 15, 2016

In fact, they do it through "startup notification". When the view is created, they got the startup_id and look the workspace when it was asked and move the view in the right ws.

@ddevault
Copy link
Contributor

I'm not sure this is practical for us to address.

@ddevault
Copy link
Contributor

A workaround:

bindsym $mod+d exec dmenu_path | dmenu -p "Run:" -l 10 | xargs swaymsg exec

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

No branches or pull requests

2 participants