OnTopReplica icon indicating copy to clipboard operation
OnTopReplica copied to clipboard

Prevent window activation

Open ZafotheNinja opened this issue 7 years ago • 2 comments

~~Request: Add a resizing in pixels like the region select. Up/Down arrows and all that jazz.~~

Request: "Don't allow this window to become active" Checkbox

Bug: Ran into a bug where the click through doesn't do anything because it makes the game no longer the active window. The above should fix this.

ZafotheNinja avatar Jun 25 '17 07:06 ZafotheNinja

I've moved the first request to #10.

Ran into a bug where the click through doesn't do anything because it makes the game no longer the active window.

I'm afraid I don't completely understand the problem: is the problem caused by the game becoming the active window or OnTopReplica taking the pointer focus?

LorenzCK avatar Jun 27 '17 21:06 LorenzCK

The problem originates with the game not accepting input if it is not the active window. So if OnTopReplica had a way to force itself to stay inactive, either through an option or as a feature then it should solve this issue.

One hacky way to solve it would be to track the cursor while over the window and when clicked, forward the click to the relative position on the game window. I'm not familiar with how click through is setup, you may have a better solution. (Edit: this wouldn't work as the game captures the mouse cursor when active)

ZafotheNinja avatar Jun 28 '17 10:06 ZafotheNinja