Skip to content

fix(ui): focus Wine window when opening Steam while already running - #147

Open
amir-rezaei wants to merge 1 commit into
mont127:mainfrom
amir-rezaei:fix/focus-steam-window-on-open
Open

fix(ui): focus Wine window when opening Steam while already running#147
amir-rezaei wants to merge 1 commit into
mont127:mainfrom
amir-rezaei:fix/focus-steam-window-on-open

Conversation

@amir-rezaei

Copy link
Copy Markdown

Description

This PR resolves issue #106 by ensuring that clicking "Open Steam" in BackendClient.swift focuses the Steam Wine window even when Steam is already running in the background.

Details

  • Previously, when launch_steam returned already_running: true, launchSteam ignored the response without raising or focusing the existing Steam window.
  • Calls focusWineWindow() upon receiving a successful response from launch_steam so the running Steam client is brought to the foreground.

@realmaitreal

Copy link
Copy Markdown
Collaborator

@amir-rezaei or anyone send a video proving the fix if you can,

because from what I think, steam get exited when closing a game and focusing the wine window will do nothing as steam is exited,

and due to the minority of the issue, I'll not diagnosis the cause concretely yet

@realmaitreal realmaitreal added Low priority Lower priority needs triage No clear area yet — needs a maintainer to route it area:ui SwiftUI interface/UX, not tied to a specific backend or storefront labels Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ui SwiftUI interface/UX, not tied to a specific backend or storefront Low priority Lower priority needs triage No clear area yet — needs a maintainer to route it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants