wayland_server: expose xx color management support by default
I'm confident in the implementation and (significant) upstream changes before the protocol is released as wp-colormanagement-v1 are unlikely, so I think allowing apps to make use of it in practice is okay at this point. Once the upstream protocol is released, we'll still drop the xx variant though and apps will have to use the wp protocol in order to make use of color management features.
This commit is contained in:
parent
9e2326d3ac
commit
f9b88ee2f3
1 changed files with 1 additions and 3 deletions
|
@ -515,9 +515,7 @@ bool WaylandServer::init()
|
|||
|
||||
new FrogColorManagementV1(m_display, m_display);
|
||||
new PresentationTime(m_display, m_display);
|
||||
if (qEnvironmentVariableIntValue("KWIN_ENABLE_XX_COLOR_MANAGEMENT")) {
|
||||
m_xxColorManager = new XXColorManagerV4(m_display, m_display);
|
||||
}
|
||||
m_xxColorManager = new XXColorManagerV4(m_display, m_display);
|
||||
m_xdgDialogWm = new KWin::XdgDialogWmV1Interface(m_display, m_display);
|
||||
connect(m_xdgDialogWm, &KWin::XdgDialogWmV1Interface::dialogCreated, this, [this](KWin::XdgDialogV1Interface *dialog) {
|
||||
if (auto window = findXdgToplevelWindow(dialog->toplevel()->surface())) {
|
||||
|
|
Loading…
Reference in a new issue