Q_UNUSED(version);
m_output_resource = wl_client_add_object(client,&wl_output_interface,0,id,this);
wl_output_send_geometry(m_output_resource, 0, 0,
- m_output_global->size().width(), m_output_global->size().height(),0,"","");
+ m_output_global->size().width(), m_output_global->size().height(),0,"","",0);
wl_output_send_mode(m_output_resource, WL_OUTPUT_MODE_CURRENT|WL_OUTPUT_MODE_PREFERRED,
m_output_global->size().width(), m_output_global->size().height(), m_output_global->refreshRate());
int32_t physicalWidth,
int32_t physicalHeight,
int subpixel,
- const char *make, const char *model)
+ const char *make, const char *model,
+ int32_t transform)
{
Q_UNUSED(subpixel);
Q_UNUSED(make);
Q_UNUSED(model);
+ Q_UNUSED(transform);
QWaylandDisplay *waylandDisplay = static_cast<QWaylandDisplay *>(data);
QRect outputRect = QRect(x, y, physicalWidth, physicalHeight);
waylandDisplay->createNewScreen(output,outputRect);
int32_t width, int32_t height,
int subpixel,
const char *make,
- const char *model);
+ const char *model,
+ int32_t transform);
static void mode(void *data,
struct wl_output *wl_output,
uint32_t flags,
void Compositor::sendOutputGeometry(wl_resource *resource)
{
const QRect &r = m_outputGeometry;
- wl_output_send_geometry(resource, r.x(), r.y(), r.width(), r.height(), 0, "", "");
+ wl_output_send_geometry(resource, r.x(), r.y(), r.width(), r.height(), 0, "", "",0);
}
void Compositor::sendOutputMode(wl_resource *resource)
void MockClient::outputGeometryEvent(void *data, wl_output *,
int32_t x, int32_t y,
int32_t width, int32_t height,
- int, const char *, const char *)
+ int, const char *, const char *,
+ int32_t )
{
resolve(data)->geometry = QRect(x, y, width, height);
}
int32_t width, int32_t height,
int subpixel,
const char *make,
- const char *model);
+ const char *model,
+ int32_t transform);
static void outputModeEvent(void *data,
wl_output *wl_output,
This version of Qt-Compositor is checked against the following sha1 from the
Wayland repository:
-8a023688c07fe2d377c4bc9631ce2fe7a9afee60
+c855d6eec4c5e63489da5bc08451a2376e6d2aea