Interface
wp_fractional_scale_manager_v1
— fractional surface scale information
A global interface for requesting surfaces to use fractional scales.
Request
wp_fractional_scale_manager_v1.destroy
— unbind the fractional surface scale interface
Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wp_fractional_scale_v1 objects included.
Request
wp_fractional_scale_manager_v1.get_fractional_scale
— extend surface interface for scale information
Create an add-on object for the the wl_surface to let the compositor request fractional scales. If the given wl_surface already has a wp_fractional_scale_v1 object associated, the fractional_scale_exists protocol error is raised.
-
id
new_id<wp_fractional_scale_v1>
: the new surface scale info interface id -
surface
object<wl_surface>
: the surface
Enum
wp_fractional_scale_manager_v1.error
-
fractional_scale_exists
: the surface already has a fractional_scale object associated
Interface
wp_fractional_scale_v1
— fractional scale interface to a wl_surface
An additional interface to a wl_surface object which allows the compositor to inform the client of the preferred scale.
Request
wp_fractional_scale_v1.destroy
— remove surface scale information for surface
Destroy the fractional scale object. When this object is destroyed, preferred_scale events will no longer be sent.
Event
wp_fractional_scale_v1.preferred_scale
— notify of new preferred scale
Notification of a new preferred scale for this surface that the compositor suggests that the client should use.
The sent scale is the numerator of a fraction with a denominator of 120.
-
scale
uint
: the new preferred scale