WindowTop / WindowTop-App

Set window on top, make it dark, transparent and more
Other
1.13k stars 68 forks source link

[Anchors] Multi-monitor setup: Support "local" anchor sets #184

Open koppor opened 2 years ago

koppor commented 2 years ago

I am using a multi-monitor setup. There, the anchors are put locally for each monitor. However, the anchor limit is calculated globally. This feels a bit strange. Sometimes, the anchor are not created for windows on the second monitor, sometimes, anchors jump from the first to the second monitor.

I would like to propose a switch that anchors are defined "per monitor" or "globally". In case "global" is active, the anchors are kept on the main screen, but the windows may be on different monitors. In addition, the limit of anchors applies to all anchors. The reason for that is that I have my non-important windows on a second screen, but work on the main screen. I would like to focus the other windows on the main screen (because this is my main work area).

In case "per monitor" is active, the anchor limit is "per monitor" and the anchors are calculated based on the windows on the currently active monitor.

gileli121 commented 2 years ago

You are right. I also thought about it. It should count it per monitor. I will fix it