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

Made Cursor Show By Default If Client Doesn't Request The Cursor Mode #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coolGi69
Copy link

Within most DEs/WMs, the default handling of cursors when using the ScreenCast protocol is that if the client does not request any, it defaults to showing the cursor.
Currently, Cosmic is not doing that, causing the cursor to not appear on apps which do not implement this part of the spec (such as Chromium) causing the cursor to be missing when screen sharing.

This is a simple one-line PR just to change the defaults so the cursor can be seen :)

@ids1024
Copy link
Member

ids1024 commented Nov 15, 2024

The spec seems to say the default should be "hidden", as implemented here already?

https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.ScreenCast.html

The default cursor mode is ‘Hidden’.

@coolGi69
Copy link
Author

coolGi69 commented Nov 16, 2024

Even if it is the default on the spec, no user expects it to be.
No other desktop uses the default, which you can easily test by attempting to screenshare on Discord (an Electron app which doesn't implement it) and seeing if the cursor appears (which it does on other desktops).

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

Successfully merging this pull request may close these issues.

2 participants