Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request adds a new window menu with additional features such as process freezing (both native and enhanced via pssuspend64), auto hide based on user activity, and extended UI components for window restoration, hotkey settings, and extra options.
- Introduces process freeze/unfreeze functions using native NtSuspendProcess/NtResumeProcess and pssuspend64.
- Enhances the window listener to support auto hiding via mouse/keyboard activity and screen corner detection.
- Adds multiple new UI pages for settings, hotkeys, and binding management.
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| main/core/tools.py | New functions for admin checking and process freeze/unfreeze. |
| main/core/listener.py | Extended listener with auto hide, mouse/keyboard activity, and enhanced freeze support. |
| main/core/config.py | New configuration options for freezing and mouse button/edge hide features. |
| main/GUI/window_restore.py | Updated UI for window restoration and process control with admin prompts. |
| main/GUI/setting/options_page.py | New options UI for configuring window and freeze settings. |
| main/GUI/setting/hotkeys_page.py | New hotkey recording functionality and additional mouse options. |
| main/GUI/setting/binding_page.py | Updates for managing window binding in the settings UI. |
| main/GUI/setting/base.py | Base settings window integrating the new UI pages. |
| main/Boss-Key.py | Adjustments to use the new settings window and lock file path. |
Comments suppressed due to low confidence (1)
main/core/tools.py:45
- The variable 'Config' is used in this file without an import which may lead to a NameError. Please add 'from core.config import Config' at the top of the file.
pssuspend_path =os.path.join(Config.root_path,"pssuspend64.exe")
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.