This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Improved swallowing #140
Merged
Merged
Improved swallowing #140
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
32a528a
Make swallowing more robust
eylles f28ee92
Improved swallow filter
eylles 9765637
remove occurences of res var
eylles 6a6e61f
renamed functions and theme vars more descriptive
eylles 5f0d3c4
updated module documentation
eylles ab5f44e
check functions combined, is_in_table 1 return
eylles 8670856
add old theme vars for compatibility
eylles 455aa82
short swallow logic and robust filter assignment
eylles 2c5f7dd
ignore splash and dialog parents
eylles 3e9c4a1
consistent docs formatting
eylles 54fbe76
convert module to use an async function
eylles 4465035
removed undefined error() function call
eylles 8a87381
deal with corner case: parent exits before client
eylles ec5cc22
added meself to authors
eylles File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the function returns false when
window_swallowing_activated
is false?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from what i can tell no, since
window_swallowing_activated = false
means that the swallowing function will be disconected from all clients.however if you meant the boolean value of
swallowing_filter
then reffering back to the truth table the output value of this function should only be false when the filter is active and either parent or child is in any of the filtering lists.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. I have forgotten the use of this variable and thought it has what the user change to activate the module... My bad.