Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Somehow?) On xorg, disable click-through when tiling is in focus (centered) mode #818

Open
jonseppanen opened this issue Apr 7, 2024 · 4 comments
Labels
enhancement Adds a new feature or extends scope

Comments

@jonseppanen
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When windows are tiled in normal mode, it makes sense to click through when switching focus with the mouse.
However, when windows are in focus mode there is a lot less reason to have this feature, and I am finding the rapid animations causing a lot of mis-drags when using focus mode.

Describe the solution you'd like
A way to disable click-through during focus mode, but keep it for normal mode

Describe alternatives you've considered
I have looked into disabling all click-through (I believe this is the wayland behaviour) but on xorg, and cant find much.

Additional context
N/A

@jonseppanen jonseppanen added the enhancement Adds a new feature or extends scope label Apr 7, 2024
@jtaala
Copy link
Collaborator

jtaala commented Apr 8, 2024

I don't quite understand what you mean by "click through" here.

Any chance you could take a video or screenshots to explain what you mean by this?

@jonseppanen
Copy link
Collaborator Author

Not sure how to show this in a video.

When you click an unfocused window without click-through, the window gets focused, but the click is not passed to the window, thus not interacting with it. (e.g, any button under the mouse would not be clicked)

When you click an unfocused window with click-through, the window gets focused and the click is passed to the window, interacting with it (e.g, any button under the mouse would be clicked)

MacOS (and I think gnome wayland?) does not click-through on focus.
Gnome Xorg does click-through on focus
KDE allows you to set either way as preference.

@jtaala
Copy link
Collaborator

jtaala commented Apr 9, 2024

Thanks @jonseppanen, gotcha. This could probably be achieved with a "cover pane" type actor that sits on top of our windows which absorbs the first click (after which the cover pane disables and the window is activated).

Interestingly, we already have an element that sits on top of windows and dims the windows during minimap navigation (actually, it sits on top of our window clones, but same concept).

Will have a think about this one.

@jtaala
Copy link
Collaborator

jtaala commented Apr 9, 2024

I believe this is the wayland behaviour)

I don't think it is - doesn't appear to be for me anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds a new feature or extends scope
Projects
None yet
Development

No branches or pull requests

2 participants