Update wayland sha
authorJorgen Lind <jorgen.lind@gmail.com>
Thu, 5 Jul 2012 09:59:25 +0000 (11:59 +0200)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>
Fri, 6 Jul 2012 17:29:18 +0000 (19:29 +0200)
Change-Id: Icf48c40b4d078b13c4132e52d351a22395d4ca76
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/plugins/platforms/wayland/qwaylanddatadevicemanager.cpp
src/plugins/platforms/wayland/qwaylanddatadevicemanager.h
src/plugins/platforms/wayland/qwaylandshellsurface.cpp
wayland_sha1.txt

index 2c5cb9e..12180c4 100644 (file)
 
 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,
index 7db3dfc..f50037a 100644 (file)
@@ -96,7 +96,7 @@ private:
 
     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,
index e443e77..4700c3f 100644 (file)
@@ -101,7 +101,7 @@ void QWaylandShellSurface::updateTransientParent(QWindow *parent)
         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);
index 24bcbc9..5198b73 100644 (file)
@@ -1,3 +1,3 @@
 This version of Qt-Compositor is checked against the following sha1 from the
 Wayland repository:
-b576443a0eb848085d0fcdf2b2d2987bcfb58a7f
+8a023688c07fe2d377c4bc9631ce2fe7a9afee60