sbmpost / AutoRaise

AutoRaise (and focus) a window when hovering over it with the mouse
GNU General Public License v3.0
1.48k stars 60 forks source link

Add option to not AutoRaise when switching Spaces (Desktops) #105

Closed chrisaj closed 1 year ago

chrisaj commented 2 years ago

When switching spaces I don't want to AutoRaise straight away as I can't reliably predict what will be underneath the cursor!

Add a flag to control what happens on a space change.

sbmpost commented 2 years ago

@chrisaj Thanks for the commit :) I will test with the new behavior coming week.

What settings do you use? It will help to do a proper representative test.

chrisaj commented 2 years ago

Contents of my .AutoRaise file:

#AutoRaise config file
delay=10
focusDelay=5
warpX=0.5
warpY=0.1
scale=2.5
altTaskSwitcher=false
mouseDelta=0.1
ignoreSpaceChange=true
sbmpost commented 2 years ago

@chrisaj

I have tested with your changes. In addition to that another option was introduced for setting the mouse poll interval. Both of these changes are now in this branch: https://github.com/sbmpost/AutoRaise/tree/add-poll-millis-and-ignore-space-changed-options

Accompanying this branch, there will be the UI counterpart which is currently being updated. It might take a while to get all of this released but at least you know things are moving.

sbmpost commented 2 years ago

@chrisaj I am about to merge PR#106. It contains an updated UI with the ignoreSpaceChange setting you requested.

The new binary can be downloaded via this link: https://github.com/sbmpost/AutoRaise/blob/update-binary-to-3.6.0/AutoRaise.dmg

cadeniyi commented 2 years ago

Thanks! the 3.6.0 seems to be working fine for me.