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.
| this |
the instance to use |
| window |
The GTK Window to use as a lock surface |
| monitor |
The monitor to show it on |