assign_window_to_monitor


Description:

public void assign_window_to_monitor (Window window, Monitor monitor)

This must be called with a different unrealized window once for each monitor immediately after calling gtk_session_lock_lock .

Hiding a window that is active on a monitor or not letting a window be resized by the library is not allowed (may result in a Wayland protocol error). The window will be unmapped and destroy called on it when the current lock ends.

Parameters:

this

the instance to use

window

The GTK Window to use as a lock surface

monitor

The monitor to show it on