Phoc.Desktop.get_draggable_layer_surface

### Method

# Phoc Desktopget_draggable_layer_surface

#### Declaration [src]

    PhocDraggableLayerSurface*
    phoc_desktop_get_draggable_layer_surface (
      PhocDesktop* self,
      PhocLayerSurface* layer_surface
    )

#### Description [src]

Returns a draggable layer surface if `layer_surface` is configured as such. `NULL` otherwise.

#### 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 `PhocDraggableLayerSurface`.

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