GdkX11.X11Surface.lookup_for_display
Description: Reference for GdkX11.X11Surface.lookup_for_display

### Function

# GdkX11 X11Surfacelookup_for_display

deprecated: 4.18

#### Declaration [src]

    GdkSurface*
    gdk_x11_surface_lookup_for_display (
      GdkDisplay* display,
      Window window
    )

#### Description [src]

Looks up the `GdkSurface` that wraps the given native window handle.

Deprecated since: 4.18

Please do not use it in newly written code.

#### Parameters

`display`

  Type: `GdkX11Display`

  The `GdkDisplay` corresponding to the window handle.

  The data is owned by the caller of the function.

`window`

  Type: `Window`

  An Xlib Window.

#### Return value

Type: `GdkX11Surface`

The `GdkSurface` wrapper for the native window.

The data is owned by the called function.