Add more ability of autohide if only active windows.#297
Open
joevnpro wants to merge 5 commits intoicedman:mainfrom
Open
Add more ability of autohide if only active windows.#297joevnpro wants to merge 5 commits intoicedman:mainfrom
joevnpro wants to merge 5 commits intoicedman:mainfrom
Conversation
// The dock will show back when coming into Overview (from a state of an opened app with fullcreen status
//Icon size from smaller to bigger.
Able to hide the dock if only it is the active windows overlaps the dock. (still keep the original logic to switch/change in code) Added support for MENU and DROPDOWN_MENU window types to improve dock hiding functionality based on window overlap.
Refactor autohide modes and clean up overlap checks.
Refactor comments for clarity and remove unnecessary lines.
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.
Add more mode to improve autohide mode.
//HNV90. Declare mode of autohide
let mode1_allWindows = 1;
let mode2_onlyActiveWindows = 2;
let mode_selected = mode2_onlyActiveWindows;
Add ability of hide dock (in autohide mode) if right mouse menu/ Dropdown of other apps overlaps the dock.
(Because this dock is designed to be over all windows and Menu. It makes inconvenience when right mouse menu under the dock)
Modified to let the dock to be shown when enter overview mode from a state of an fullscreen app (the dock is hidden, but not show when enter overview mode)