Skip to content

Commit

Permalink
settings: Add cursor-theme and cursor-theme-size
Browse files Browse the repository at this point in the history
These aim to provide cursor theming settings that isn't to a desktop
environment or toolkit.
  • Loading branch information
jadahl committed Mar 3, 2025
1 parent 15cdf42 commit 3360f73
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data/org.freedesktop.portal.Settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@
Unknown values should be treated as ``0`` (no preference).
* ``org.freedesktop.appearance`` ``cursor-theme`` (``s``)
Indicates the system's preferred cursor theme.
* ``org.freedesktop.appearance`` ``cursor-theme-size`` (``u``)
Indicates the system's preferred cursor theme size. The size is in logical
pixels, The effective used cursor theme size depends on the scale the cursor
is presented using. For example, a cursor displayed on a HiDPI monitor
with scaling factor 2 will have the effective cursor theme size
``cursor-theme-size * 2``.
This documentation describes version 2 of this interface.
-->
<interface name="org.freedesktop.portal.Settings">
Expand Down

0 comments on commit 3360f73

Please sign in to comment.