Go to index / Go to protocols

kde_primary_output_v1 ↗

kde_primary_output_v1
kde_primary_output_v1

Version 2

expose which is the primary display

Protocol for telling which is the primary display among the selection of enabled outputs.

Warning! The protocol described in this file is a desktop environment implementation detail. Regular clients must not use this protocol. Backward incompatible changes may be added without bumping the major version of the extension.

kde_primary_output_v1
event primary_output(
    output_name: string,
)
  • output_name — the name of the output

Provide the current primary output's name

Specifies which output is the primary one identified by their uuid. See kde_output_device_v2 uuid event for more information about it.

kde_primary_output_v1
request destroy()
DestructorAvailable since version 2

    Destroy the primary output notifier.