-
Notifications
You must be signed in to change notification settings - Fork 52
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
Focus change while rearranging causes unexpected behaviour #172
Comments
I'm not sure I understand your solution. Would you mind giving an in-depth example? |
Say I have a window that I want on another screen. I press the modifier key and an arrow a bunch of times to get it to the other screen. I am interrupted by another window opening up and taking focus. Suddenly I am no longer moving the original window but the one that's now in focus. My solution is as follows: |
Here: First I move around firefox, then discord loads and takes focus. Suddenly I'm moving discord instead of firefox. |
Hmm... I think I can come up with something. That's a good idea. |
@Fmstrat, I'm thinking we can have a null global variable for the focus window that gets populated once by requestMove if it's empty, then have a timer that will loop if SUPER is still held, then it renulls it when it's released. What do you think? |
Still waiting on @Fmstrat to give his input. |
I think this sounds great. @moritz-t-w If it's helpful, I have made a script that uses APPS=(
'Element | 3 | topRight | element-desktop'
'Google Voice | 3 | bottomRight | /opt/google/chrome/chrome --app-id=bhacinadenbkojblbakackhneiahcgkb'
'Evolution | 1 | centered | evolution'
) It opens the apps if they're not already, or moves them if they are. I could probably make it a gist if you want it. |
|
Problem:
Whenever I am restoring my session with a window session manager I have to manually arrange some windows, which I do using wintile. However, as soon as more windows start to launch, chaos ensues. The other windows take the focus and suddenly I'm manipulating them instead of the one I had.
Solution:
I think it would be most intuitive to just note which window is being manipulated and ignore any focus changes until I let go of the modifier key. Then a new window could be chosen based on focus.
PS. I absolutely love this extension
The text was updated successfully, but these errors were encountered: