Skip to content

Fix: Pass a display launch context when launching apps - #2864

Open
amz-x wants to merge 1 commit into
elementary:mainfrom
amz-x:fix-open-in-terminal
Open

amz-x wants to merge 1 commit into
elementary:mainfrom
amz-x:fix-open-in-terminal

Conversation

@amz-x

@amz-x amz-x commented Oct 16, 2026

Copy link
Copy Markdown

Launching with a null GAppLaunchContext gives the app no XDG activation token, so on Wayland the compositor refuses to focus it (e.g. "Open in > Terminal" leaves the keyboard focus on Files).

Use the display's GdkAppLaunchContext so a token is generated from Files' last user
interaction.

See related PR: elementary/terminal#1022

@ryonakano
ryonakano requested a review from a team October 17, 2026 00:45
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.

1 participant