Function

AstalWl4find_output_by_gdk_monitor

Declaration

void
astal_wl4_find_output_by_gdk_monitor (
  GdkMonitor* monitor,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

Match a GDK monitor to the corresponding AstalWl output object. It may take some time for the corresponding output to appear and initialize, so this function is async. This function can return null in edge cases, for example when the monitor disappears during the matching process.

Parameters

monitor

Type: GdkMonitor*

No description available.

The data is owned by the caller of the function.
_callback_

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the function.