diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2013-04-18 16:37:19 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@digia.com> | 2013-04-23 14:18:36 +0200 |
commit | 755fac09a8656545c272528e531ba4732154ae3c (patch) | |
tree | 735744938d7149b9c1d799bfcd7d0ca03759d8a6 /src/compositor/wayland_wrapper/qwldatadevicemanager.cpp | |
parent | c2d41eee09a1c88641c6f866528c661728a0bf2f (diff) |
Adapted Surface and Region to use the qtwaylandscanner.
This requires some slight additions to the qtwaylandscanner to handle
the pattern of the wl_resource not being owned by the generated class.
Change-Id: Ia49c8129cee3a203ca9a727e83fafd3dfc653e75
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/qwldatadevicemanager.cpp')
-rw-r--r-- | src/compositor/wayland_wrapper/qwldatadevicemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwldatadevicemanager.cpp b/src/compositor/wayland_wrapper/qwldatadevicemanager.cpp index 03baa16bd..c27aa514f 100644 --- a/src/compositor/wayland_wrapper/qwldatadevicemanager.cpp +++ b/src/compositor/wayland_wrapper/qwldatadevicemanager.cpp @@ -243,7 +243,7 @@ void DataDeviceManager::overrideSelection(const QMimeData &mimeData) Surface *focusSurface = dev->keyboardFocus(); if (focusSurface) offerFromCompositorToClient( - dev->dataDevice(focusSurface->base()->resource.client)->dataDeviceResource()); + dev->dataDevice(focusSurface->resource()->client())->dataDeviceResource()); } bool DataDeviceManager::offerFromCompositorToClient(wl_resource *clientDataDeviceResource) |