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.

destroy
Type: destructorsince 2
destroy()
Destroy the primary output notifier.
primary_output(output_name: string)
Argument
Type
Description
output_namestring
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.


Compositor Support

kde_primary_output_v1↓
Compositors
CageCage0.3.0
x
COSMICCOSMIC1.11.0
x
flakewm3.0.5
2
GameScopeGameScope3.17.0
x
HyprlandHyprland0.57.2
x
Jay1.14.0
x
KWinKWin6.7
x
LabwcLabwc0.20.2
x
LouvreLouvre2.14.1
x
MangoMango0.16.3
x
MirMir2.26
x
MuffinMuffin6.7.4
x
MutterMutter51
x
niriniri26.04
x
phocphoc0.55
x
Pila0.5.1
x
QtileQtile0.37.1
x
riverriver0.5.0
x
SwaySway1.11
x
TreelandTreeland0.8.0
x
WayfireWayfire0.9.0
x
WestonWeston15.0.1
x

SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org>

SPDX-License-Identifier: MIT-CMU