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

xdg-open an url does not switch focus to window #4830

Closed
pengux opened this issue Dec 21, 2019 · 2 comments
Closed

xdg-open an url does not switch focus to window #4830

pengux opened this issue Dec 21, 2019 · 2 comments

Comments

@pengux
Copy link

pengux commented Dec 21, 2019

When opening a URL from terminal with xdg-open https://archlinux.org for example, the URL is opened in the default browser (Firefox) but sway does not switch focus to the window. If the browser is in workspace 2 and the terminal is at workspace 1, then focus is still on workspace 1 on the terminal.

  • Sway Version: sway version 1.2
@FreeFull
Copy link
Contributor

I believe this is intentional, since sway's behaviour matches i3's behaviour here. The browser window and the workspace do get marked as urgent if the browser is running under Xwayland (urgency currently isn't supported for native wayland clients)

@emersion
Copy link
Member

Yes, this is expected behavior.

To raise the browser's window when clicking on a link (which is separate from this use-case), there's a proposal on wayland-devel: https://lists.freedesktop.org/archives/wayland-devel/2019-October/040930.html

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

3 participants