Skip to content

Fix: restrict Steam centering to only the main window - #380

Merged
dhh merged 1 commit into
omacom:masterfrom
sobran:fix/steam-windowrule
Jul 28, 2025
Merged

dhh merged 1 commit into
omacom:masterfrom
sobran:fix/steam-windowrule

Conversation

@sobran

@sobran sobran commented Jul 27, 2025

Copy link
Copy Markdown
Contributor

Fix: Prevent Steam context menus from being centered

The existing rulewindowrule = center, class:steam (introduced in commit 46d1350) causes Steam's popup windows (like right-click context menus) to be centered on the screen, which impacts the user experience.

This PR restricts the rule to only apply to the main Steam window by matching both class and title. As far as I could test, only the main Steam window has a title and is still centered correctly with this change.

@dhh
dhh merged commit e39ec15 into omacom:master Jul 28, 2025
@sobran
sobran deleted the fix/steam-windowrule branch August 2, 2025 02:35
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.

2 participants