Grx.user_convert_screen_to_user

function user_convert_screen_to_user(x: Number(gint), y: Number(gint)): [x: Number(gint), y: Number(gint)] {
    // Gjs wrapper for grx_user_convert_screen_to_user()
}
  

Converts x and y from coordinates in the current context to coordinates in the user window.

x

the X coordinate

y

the Y coordinate

x (out)

the X coordinate

y (out)

the Y coordinate