Method

MetaWindowget_monitor

Declaration [src]

int
meta_window_get_monitor (
  MetaWindow* window
)

Description [src]

Gets index of the monitor that this window is on.

Return value

Type: int

The index of the monitor in the screens monitor list, or -1 if the window has been recently unmanaged and does not have a monitor.