419c0b81fd
Anything in xcb_ structs are always in X local, all member variables aside from buffers are in kwin local space. This patch ignores a few paths that are not relevant on wayland.
30 lines
437 B
C++
30 lines
437 B
C++
/*
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
SPDX-FileCopyrightText: 2022 Aleix Pol Gonzalez <aleixpol@kde.org>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include <utils/xcbutils.h>
|
|
|
|
namespace KWin
|
|
{
|
|
|
|
uint32_t Xcb::toXNative(uint value)
|
|
{
|
|
return value;
|
|
}
|
|
|
|
uint32_t Xcb::fromXNative(uint value)
|
|
{
|
|
return value;
|
|
}
|
|
|
|
QSize Xcb::fromXNative(const QSize &value)
|
|
{
|
|
return value;
|
|
}
|
|
|
|
}
|