PortionOfScreen
PortionOfScreen copied to clipboard
Share focused Window
Hello,
Thank you for making this! It works great.
Is it possible to add a feature that will share the "currently focused" window?
I think that will make it great since the screen layout is still what the presenter has to conveniently present and the audience will be able to follow things. I believe OBS does that, but it is a virtual camera not an application that can be shared.
Good thinking, I like that idea. Should be possible.
I was just in a meeting where this would have been very useful - lots of switching between windows of various sizes and aspect ratios. By allowing it to follow focused windows rather than a set area, viewers would see the shared content as large as their device will allow.
Hi @egonl, here is an idea for an implementation I would like to share: Diff If you like I can push the branch to your repo instead of my fork.
Thanks @dodjango. I tried your implementation, liked it and refactored it a bit, see #11. What do you think?
Using the timer is much better than the event for redrawing. Resizing also works this way, great.
Ignoring small windows is a good idea I thought about too but ended up with that it would be more interesting to have something like an ignore list for unwanted windows. So it would also be possible to never share outlook or the password manager. But this is another requirement I think.
After my first implementation I tested also with multi monitors and different scaling. This does not work and started reading a little bit about handling multi monitors.
Than I had no more time to continue and committed the first approach.
May be I will have a little time and add this in the future.