joelpurra / xmouse-controls

Microsoft Windows utility to manage the active window tracking/raising settings. This is known as x-mouse behavior or focus follows mouse on Unix and Linux systems.
https://joelpurra.com/projects/X-Mouse_Controls/
GNU General Public License v3.0
229 stars 18 forks source link

Add an exclude windows list #14

Closed u5n closed 5 years ago

u5n commented 5 years ago

I met the same problem as #8 I suggest you can add an exclude windows list, the specific windows in the exclude windows list will not autoraise(autofocus). Then #8 can also be solved.

binki commented 5 years ago

XMouse-Controls merely sets registry keys which enable Windows's built-in focus follows mouse and autoraise behavior. I do not think Windows has a way to set an inclusion/exclusion list, but I don't know this for sure. However, since XMouse-Controls merely sets Windows settings and does not actively implement the feature, this can not be added to XMouse-Controls as it is unless if Windows provided a way to configure this.

I think implementing the feature you want would require an “active” approach which runs in the background all of the time and tries to focus and raise windows depending various conditions. It wouldn't simply be a new feature to this program, I think it'd make sense to be done as a different program/project.

binki commented 5 years ago

To avoid the issue you hit with this app's approach, I think your only option is to make sure your mouse is not on your text input area. Also, please consider using Windows's Feedback tool to let them know of the issue and give them enough information to know that you're using this program and the steps to recreate the issue.

joelpurra commented 5 years ago

@Haozun: as mentioned by @binki and in #8, this is an issue that the Windows team at Microsoft needs to address. Closing this issue as a duplicate.

Perhaps consider a custom script in AutoHotKey? I have no experience with that type of scripting though, and can't say if it it's possible -- but I do know AHK offers window selection/filtering.