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

Don't apply custom Firefox processing on startup #958

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

dalyIsaac
Copy link
Owner

@dalyIsaac dalyIsaac commented Jul 30, 2024

#957 introduced custom logic to handle Firefox starting while Whim was running. However, this logic is unnecessary if Firefox is started prior to Whim.

This PR introduces IWindowSector.StartupWindow to store the windows which were open when Whim started. If the Firefox window is in this set, then the custom logic is not needed and all events are processed as normal.

@dalyIsaac dalyIsaac added bug Something isn't working core Whim labels Jul 30, 2024
@dalyIsaac dalyIsaac marked this pull request as ready for review July 30, 2024 12:11
Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.03%. Comparing base (178650e) to head (f0bc110).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #958      +/-   ##
==========================================
+ Coverage   81.01%   81.03%   +0.01%     
==========================================
  Files         274      274              
  Lines       11496    11503       +7     
  Branches     1290     1291       +1     
==========================================
+ Hits         9314     9321       +7     
  Misses       2008     2008              
  Partials      174      174              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dalyIsaac dalyIsaac merged commit b777779 into main Jul 30, 2024
8 checks passed
@dalyIsaac dalyIsaac deleted the firefox-processor-startup branch July 30, 2024 12:17
@dalyIsaac dalyIsaac mentioned this pull request Jul 30, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Whim
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant