-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Minimized windows are falsely reported as visible #569
Comments
I don’t remember making changes here. Do you happen to know when this broke?
… On 11 Jun 2020, at 21:43, Dominik Lohmann ***@***.***> wrote:
The visible attribute of a window query used to be 0 for minimized windows. This changed recently.
I consider this a bug, since the visible attribute used to be a good way to implement custom focus commands. While it can be worked around using a conjunction with the minimized attribute, I suppose the change was of accidental nature.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#569>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPDZV73UPE7Q7EEE3LWW53RWEXXXANCNFSM4N3WRDVA>.
|
Sometime over the last week, I haven't been able to stay up to date with master lately. I can run a git-bisect if you want me to. |
That would be great, if you don’t mind.
… On 11 Jun 2020, at 22:06, Dominik Lohmann ***@***.***> wrote:
Sometime over the last week, I haven't been able to stay up to date with master lately.
I can run a git-bisect if you want me to.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#569 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPDZVYPYCSJ73MTYESFH2DRWE2NHANCNFSM4N3WRDVA>.
|
Here's the culprit:
|
Ok so assuming I'm not stupid, the real issue is actually that minimized windows wasn't reported in the window queries at all prior to that commit. |
Yeah from looking at the code change, that looks to be about it. I'm not using minimized windows all too much, which may be why this has gone unnoticed so far. Anyways, those windows are certainly not visible, so I think I'd still consider this a bug. Edit: Damn, you were quick at addressing this. Thanks! |
The
visible
attribute of a window query used to be0
for minimized windows. This changed recently.I consider this a bug, since the
visible
attribute used to be a good way to implement custom focus commands. While it can be worked around using a conjunction with theminimized
attribute, I suppose the change was of accidental nature.The text was updated successfully, but these errors were encountered: