Grx.user_get_window

function user_get_window(): [x1: Number(gint), y1: Number(gint), x2: Number(gint), y2: Number(gint)] {
    // Gjs wrapper for grx_user_get_window()
}
  

Gets the user window of the current context.

x1

the left X coordinate

y1

the top Y coordinate

x2

the right X coordinate

y2

the bottom Y coordinate