Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share focused Window #2

Open
serverhorror opened this issue Nov 25, 2022 · 5 comments
Open

Share focused Window #2

serverhorror opened this issue Nov 25, 2022 · 5 comments

Comments

@serverhorror
Copy link

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.

@egonl
Copy link
Owner

egonl commented Nov 25, 2022

Good thinking, I like that idea. Should be possible.

@Bzly
Copy link

Bzly commented Feb 28, 2024

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.

@dodjango
Copy link

dodjango commented Apr 9, 2024

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.

@egonl
Copy link
Owner

egonl commented Apr 10, 2024

Thanks @dodjango. I tried your implementation, liked it and refactored it a bit, see #11. What do you think?

@dodjango
Copy link

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.
image
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants