diff options
Diffstat (limited to 'src/compositor/wayland_wrapper/wlextendedsurface.cpp')
-rw-r--r-- | src/compositor/wayland_wrapper/wlextendedsurface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/wayland_wrapper/wlextendedsurface.cpp b/src/compositor/wayland_wrapper/wlextendedsurface.cpp index 948990484..3b46abc9d 100644 --- a/src/compositor/wayland_wrapper/wlextendedsurface.cpp +++ b/src/compositor/wayland_wrapper/wlextendedsurface.cpp @@ -104,14 +104,14 @@ void ExtendedSurface::sendGenericProperty(const QString &name, const QVariant &v data.size = byteValue.size(); data.data = (void*) byteValue.constData(); data.alloc = 0; - wl_resource_post_event(m_extended_surface_resource,WL_EXTENDED_SURFACE_SET_GENERIC_PROPERTY, qPrintable(name), &data); + wl_extended_surface_send_set_generic_property(m_extended_surface_resource, qPrintable(name), &data); } void ExtendedSurface::sendOnScreenVisibility(bool visible) { int32_t visibleInt = visible; - wl_resource_post_event(m_extended_surface_resource,WL_EXTENDED_SURFACE_ONSCREEN_VISIBILITY,visibleInt); + wl_extended_surface_send_onscreen_visibility(m_extended_surface_resource, visibleInt); } |