void QWaylandDataDeviceManager::data_offer(void *data,
struct wl_data_device *data_device,
- uint32_t id)
+ struct wl_data_offer *id)
{
-
QWaylandDataDeviceManager *handler = static_cast<QWaylandDataDeviceManager *>(data);
- //this will be hidden with a wl function call in the near future I hope, but I suppose the scanner
- //doesn't support it yet
- struct wl_proxy *newId = wl_proxy_create_for_id(reinterpret_cast<struct wl_proxy *>(data_device),
- id, &wl_data_offer_interface);
- struct wl_data_offer *data_offer =
- reinterpret_cast<struct wl_data_offer *>(newId);
-
- new QWaylandDataOffer(handler->display(),data_offer);
+ new QWaylandDataOffer(handler->display(),id);
}
void QWaylandDataDeviceManager::enter(void *data,
static void data_offer(void *data,
struct wl_data_device *wl_data_device,
- uint32_t id);
+ struct wl_data_offer *id);
static void enter(void *data,
struct wl_data_device *wl_data_device,
uint32_t time,
flags |= WL_SHELL_SURFACE_TRANSIENT_INACTIVE;
wl_shell_surface_set_transient(m_shell_surface,
- parent_wayland_window->shellSurface()->m_shell_surface,
+ parent_wayland_window->wl_surface(),
transientPos.x(),
transientPos.y(),
flags);
This version of Qt-Compositor is checked against the following sha1 from the
Wayland repository:
-b576443a0eb848085d0fcdf2b2d2987bcfb58a7f
+8a023688c07fe2d377c4bc9631ce2fe7a9afee60