Phoc.LayerShellEffects.get_draggable_layer_surface_from_layer_surface

### Method

# Phoc LayerShellEffectsget_draggable_layer_surface_from_layer_surface

#### Declaration [src]

    PhocDraggableLayerSurface*
    phoc_layer_shell_effects_get_draggable_layer_surface_from_layer_surface (
      PhocLayerShellEffects* self,
      PhocLayerSurface* layer_surface
    )

#### Description [src]

Looks up the `PhocDraggableLayerSurface` attached to a `PhocLayerSurface`.

#### Parameters

`layer_surface`

  Type: `PhocLayerSurface`

  The layer-surface to look up.

  The data is owned by the caller of the method.

#### Return value

Type: `PhocDraggableLayerSurface`

The draggable layer surface.

The returned data is owned by the instance.
The return value can be `NULL`.