Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Raise focused client scene to top when switching to monocle layout #233

Merged
merged 1 commit into from May 13, 2022

Conversation

BenJarg
Copy link
Contributor

@BenJarg BenJarg commented May 11, 2022

When switching from tile layout to monocle layout, sometimes the window that was focused before ends up under other windows (although still considered focused). If there is a better way to fix this, do tell me, but this does seem to fix the issue.

@BenJarg
Copy link
Contributor Author

BenJarg commented May 12, 2022

It may also be worth noting that this is an issue with the configuration option "sloppyfocus" enabled. If I do a mouse click on the focused window also before switching to monocle layout, it then does seem to consistently end up on top. But this is not the case if I focus it only by hovering the mouse over it.

dwl.c Outdated Show resolved Hide resolved
dwl.c Outdated Show resolved Hide resolved
@BenJarg BenJarg force-pushed the monocle-raise-scene-to-top branch from 09744ed to 06d9230 Compare May 13, 2022 08:31
@sevz17 sevz17 merged commit 06d9230 into djpohly:main May 13, 2022
@sevz17
Copy link
Collaborator

sevz17 commented May 13, 2022

Thanks!

@BenJarg BenJarg deleted the monocle-raise-scene-to-top branch May 13, 2022 19:45
@sevz17 sevz17 mentioned this pull request Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants