This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
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.
Improved swallowing #140
Improved swallowing #140
Changes from all commits
32a528a
f28ee92
9765637
6a6e61f
5f0d3c4
ab5f44e
8670856
455aa82
2c5f7dd
3e9c4a1
54fbe76
4465035
8a87381
ec5cc22
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Just a thought I have reading this : There is a corner case where the user can require the module before calling
beautiful.init
. In this situation, the user defined lists in their theme will be ignored because these variables here are global to the module and initialized only here, at the module first load.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.
that is a corner case with all of bling and the docs specify requiring bling after beautiful.init
https://blingcorp.github.io/bling/#/?id=installation
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.
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.
👍
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.
as mentioned earlier some programs with splash windows can have the splash window as parent process of the main window, and in the case of krita it's splash wrongfully has the dialog type, now if krita is the only program that has that bug i don't know, will have to keep checking the window type of programs with splash windows to be sure.